Direct answer
To create a PDF, write markdown in the editor, check the live preview, and use the export flow to generate a formatted file. Good headings, lists, code blocks, and tables usually convert cleanly. Markups keeps the workflow tight so the final PDF matches what you see in the preview.
Step-by-step walkthrough
- Open markups.dev in any modern browser.
- Write your content using headings, lists, tables, code blocks, Mermaid diagrams, and KaTeX math.
- Use the live preview to check layout, spacing, and section flow before exporting.
- Adjust headings, line breaks, and section order if needed.
- Click the export button, choose PDF, and download the file.
- Open the PDF and run a final visual check before sharing.
The whole loop takes seconds once your draft is ready, and Markups is free for unlimited exports.
Tips for cleaner PDFs
- Keep headings consistent and concise; one H1 per document.
- Use tables only when they are easy to scan on a printed page.
- Test long code blocks before sharing the final file.
- Use language tags on code fences for nicer syntax highlighting.
- Preview Mermaid diagrams and KaTeX equations before exporting.
- Break very long documents into sections to keep the preview responsive.
Common mistakes
- Too many nested heading levels that confuse the document outline.
- Overly wide tables or code samples that overflow the page.
- Forgetting to preview before export — a quick pass catches most issues.
- Unclosed code fences that swallow everything that follows.
- Mixed heading depths that hurt the rendered structure.
What you can include in a PDF export
The PDF export in Markups preserves the same elements you see in the live preview:
- Headings, paragraphs, lists, blockquotes, and horizontal rules.
- Tables with alignment, padding, and header styling.
- Code blocks with syntax highlighting and language tags.
- Mermaid diagrams (flowcharts, sequence, Gantt, ER, class, state).
- KaTeX math for inline ($...$) and block ($$...$$) equations.
- Hyperlinks rendered as clickable links in the PDF.
For related formats, see markdown to HTML and markdown to DOCX.
Advanced checklist before publishing a PDF
- Confirm every section has a clear heading and no duplicate titles.
- Validate links and references so shared documents do not break downstream.
- Check long code and table blocks in preview to avoid clipped content.
- Do a final readability pass for spacing, emphasis, and list consistency.
- Verify Mermaid and KaTeX render correctly across the document.
These extra checks take two minutes but prevent most formatting issues teams usually discover too late.
FAQ
Will my markdown stay editable after export? Yes. The export creates a PDF copy, but your source markdown remains available in the editor.
Can I use this for reports and notes? Yes. It works well for documents that need a clean readable output, from internal reports to client deliverables.
Does the PDF match the live preview? Yes. The PDF is generated from the rendered preview, so what you see is what you get.
Is the converter free? Yes. Markups is free, with no account, no watermark, and no limit on the number of documents.
Try the full workflow in Markups
Open markups.dev, follow the steps above, and export your first PDF in under a minute. For more, see the markdown to PDF product page, markdown cheatsheet, or markdown to HTML tutorial.