Skip to content

Convert Markdown to PDF

Install the “Markdown PDF” extension, open your .md file, then run “Markdown PDF: Export (pdf)” from the right-click menu. It styles the PDF for you.

Open the rendered Markdown — a GitHub preview or any viewer — then use Print and choose “Save as PDF”. No tools to install.

Pandoc converts in one line. For polished output it uses a LaTeX engine under the hood.

Terminal window
pandoc notes.md -o notes.pdf