Tool
Markdown to PDF from VS Code, without the markdown-pdf extension
The popular VS Code Markdown-to-PDF extensions ship with Chromium under the hood — a 200MB download you don't need for clean documents. The browser path is faster and produces better-looking output for proposals, memos and reports.
By Elia Kuratli
·3 min read
Open the converterThe VS Code workflow
- Open your
.mdfile in VS Code. - Cmd+A / Ctrl+A to select all. Cmd+C / Ctrl+C to copy.
- Open md2document.com in any browser.
- Paste into the editor. The PDF preview renders on the right.
- Pick a template and theme. Press Cmd+E / Ctrl+E to export.
What you trade off vs. an extension
The trade-off: there is one tab switch in the loop. What you gain: better defaults (cover page, ToC, page numbers, themes), a real live preview, no Chromium download, and a tool that you can also run from your phone or another machine.
If you want a one-click VS Code task
Add a task to .vscode/tasks.json that opens the converter in your browser. (You still paste manually — the converter intentionally does not accept files via URL parameters for privacy reasons.)