Markdown to PDF
Turn any Markdown file into a beautifully formatted, print-ready PDF — right in your browser. Tachi Code renders a live Markdown preview with GitHub-flavored formatting, LaTeX math, and syntax-highlighted code, then exports it through your browser’s native print dialog. Nothing to install.
How it works
Section titled “How it works”- Open the editor at tachicode.dev and paste your Markdown.
- Run Markdown: Print Preview from the command palette.
- In the print dialog, choose Save as PDF as the destination.
- Save — headings, tables, code, lists, and math all carry over.
What you can do
Section titled “What you can do”- Print-ready PDF export through the browser’s native print flow.
- LaTeX math with
$…$inline and$$…$$display math. - Syntax-highlighted code blocks, with an option to keep your theme’s colors.
- Live preview as you type, with Mermaid diagrams rendered inline.
- Works offline once the extension is installed.
Frequently asked questions
Section titled “Frequently asked questions”How do I convert Markdown to PDF?
Open your Markdown file, run the Markdown: Print Preview command, and choose Save as PDF as the destination in your browser's print dialog.
Is it free?
Yes. Tachi Code runs free in your browser at tachicode.dev, with no account required.
Does it support tables, code blocks, and math?
Yes — GitHub-flavored Markdown, syntax-highlighted code blocks, tables, lists, blockquotes, and LaTeX math all carry over into the PDF.
Can I keep my theme's code colors in the PDF?
Yes. An option preserves your theme's syntax-highlighting colors and backgrounds in code blocks when printing.