Skip to content

Design online ​

Try the choices Studio offers, right here, then download the settings file. Nothing to install, nothing sent anywhere.

Page style

Fonts and paper

Margins

Header and footer

Top left

Lines
Text size

Drawn by your browser. Studio on your computer shows the real PDF.

Your settings file

Use it with one command. It checks the file and puts it where every export looks for it.

npx -y markdown-pdf-export init --from ~/Downloads/settings.json

The file must be in your Downloads folder, as settings.json. Windows: use PowerShell. Already have a settings file? Add --force; the old one is kept as a .bak copy.

Or copy it by hand
~/.config/markdown-pdf-export/settings.json
Show the file
{
  "$schema": "https://markdown-pdf.matinfo.tech/schema/settings.schema.json",
  "header": {
    "height": "12mm",
    "padding": "0 15mm",
    "font_size": "10px",
    "color": "#5b6773",
    "border_bottom": "1px solid #c9d1d9",
    "left_text": "{title}",
    "right_text": "{date}"
  },
  "footer": {
    "height": "12mm",
    "padding": "0 15mm",
    "font_size": "10px",
    "color": "#5b6773",
    "center_text": "Page {page} of {pages}"
  },
  "margin": {
    "top": "20mm",
    "right": "15mm",
    "bottom": "20mm",
    "left": "15mm"
  }
}

For the real PDF preview, your own logo and one-click saving, use Studio on your computer.

Released under the MIT License.