Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Pretdf — Next markdown PDF ToolkitNew to Visual Studio Code? Get it now.
Pretdf — Next markdown PDF Toolkit

Pretdf — Next markdown PDF Toolkit

Luxury Labs

|
1 install
| (0) | Free
Syntax highlighting, live preview, and snippets for pretdf templates
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

pretdf — Markdown PDF Toolkit (VS Code Extension)

Syntax highlighting, live preview, and code snippets for .pretdf.md templates.

Features

  • Syntax highlighting for YAML front-matter, Liquid tags/outputs, remark-directive blocks, Markdown, and embedded HTML.
  • Live preview panel (Cmd+Shift+P / Ctrl+Shift+P) that compiles your template to HTML in real-time.
  • Snippets for common template patterns: scaffolds, tables, callouts, columns, loops, conditionals, and more.
  • Status bar indicator when editing pretdf templates.

Usage

  1. Open any .pretdf.md file.
  2. Run pretdf: Open Preview from the command palette or press Cmd+Shift+P.
  3. Place a data.json file next to your template, or use pretdf: Set Data File to pick one.

Snippets

Prefix Description
pretdf-init Full template scaffold
pretdf-frontmatter YAML front-matter block
pretdf-table Table with Liquid for loop
pretdf-callout Callout with type attribute
pretdf-columns Columns with cards
pretdf-section Section directive
pretdf-page-break Page break
pretdf-source Source footer
pretdf-for Liquid for loop
pretdf-if Liquid if/else
pretdf-render Liquid render partial
pretdf-currency Currency filter expression

License

Apache-2.0

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft