DocKing - ShipSaaS
Docking GitHub
  • DocKing from ShipSaaS
  • Architecture
  • Requirements
  • PDF Engines
    • Gotenberg
    • WkHTMLtoPDF
    • mPDF
  • Upgrade Notes
    • v1.4.0
    • v1.3.2
    • v1.3.1
    • v1.3.0
    • v1.2.0
    • v1.1.2
    • v1.1.1
    • v1.1.0
  • Usage
    • Basic
    • Endpoints
    • Webhook
    • Maintain IDs/Keys from Services
  • Getting Started
    • Environment Variables
    • Run on Local
      • Normal Run
      • Docker
    • Storage
    • Console UI
    • Document Template
      • Gotenberg's Metadata
      • wkHTMLtoPDF's metadata
      • mPDF's metadata
    • Templating Mode
    • Fonts
    • Octane / High-perf mode
    • Localization
  • Deployment
    • Linux VPS / Dedicated Server
    • Docker
Powered by GitBook
On this page
  • Available Templating Modes
  • How to set up the templating mode for your template?
  1. Getting Started

Templating Mode

Available since v1.1.0

DocKing supports multiple types of templating rendering modes. Bring all the flexibility to your end

Available Templating Modes

  • blade : Laravel Blade templating

  • markdown: Markdown templating

    • note: it is still utilizing the blade templating to render dynamic variables.

How to set up the templating mode for your template?

Use metadata to set it up:

{
  "driver": "mpdf",
  "templating": "blade|markdown"
}
PreviousmPDF's metadataNextFonts

Last updated 1 year ago