Guides
Get more out of Markdown
Practical guides for turning Markdown into great-looking PDFs: page breaks, tables of contents, page numbers, math and more.
4 min read
Markdown Line Breaks, New Lines and Horizontal Lines
How to add a line break in Markdown — two spaces, a backslash or <br> — plus new paragraphs, extra blank lines, table cells and horizontal lines with ---.
Read the guide6 min read
Markdown to PDF in Python: 3 Libraries Compared
Convert Markdown to PDF in Python with markdown-pdf, Python-Markdown + WeasyPrint or pypandoc — working code for each, what to install, and which to choose.
Read the guide6 min read
Pandoc Markdown to PDF: Commands, Engines and Fixes
Convert Markdown to PDF with Pandoc — the basic command, options for margins, fonts and a table of contents, PDF engines without LaTeX, and common error fixes.
Read the guide5 min read
Markdown to PDF in VS Code: Extensions and Settings
VS Code can’t export Markdown to PDF on its own. How to do it with the Markdown PDF and Markdown Preview Enhanced extensions, with margins and page numbers.
Read the guide4 min read
Export ChatGPT Answers with Math to PDF (Without Broken Equations)
Why equations from ChatGPT and Claude break when you save them, and a reliable way to export AI answers with LaTeX math, tables and code to a clean PDF.
Read the guide6 min read
How to Convert Markdown to PDF: Browser, VS Code or Pandoc
Three ways to turn a Markdown (.md) file into a PDF — in your browser with nothing to install, in VS Code, or with Pandoc — and which one to pick.
Read the guide4 min read
How to Add a Page Break in Markdown (for PDF)
Markdown has no page-break syntax. Here’s how to force a new page — \newpage, HTML and CSS, automatic breaks — in PDF exports and in Pandoc for PDF, Word and HTML.
Read the guide5 min read
Add a Table of Contents and Page Numbers to a Markdown PDF
Generate a clickable table of contents from your headings and add “Page X of Y” headers and footers when converting Markdown to PDF — no LaTeX needed.
Read the guide
Your next PDF is one paste away.
No account, no watermark, no upload. Just Markdown in and a clean PDF out.
Open the editor