# Exporting & sharing

Export a Markdown file to PDF

Last updated July 2026

To turn a Markdown file into a PDF in Unmarked, press ⇧⌘E and choose PDF. Pick Letter or A4, set your margins, and add page numbers or a running header if you want them. The PDF is built on your Mac. Nothing is uploaded to a web converter.

Most "markdown to PDF" tools online want you to paste your text into a browser. Unmarked does it on the machine in front of you, using the same renderer you already see on screen.

Export to PDF

  1. Open the file in Unmarked.
  2. Press ⇧⌘E (or pick Export from the File menu).
  3. Choose PDF as the format.
  4. Set the options you want, then choose where to save.

The PDF matches what you see in Read mode. Headings, lists, tables, blockquotes, fenced code blocks with their language label, and local images all carry over, and a rendered Mermaid diagram comes across as an image sized to fit the page. Text comes out at a standard document size, about 11-point body with proportionally scaled headings. Export uses Unmarked's fixed style, so the result looks the same whatever reading or writing font you've picked in Settings.

The options

Page size is Letter or A4. Margins set the space around the text. Landscape is there for files with wide tables that would otherwise get squeezed. Page numbers and a running header are both optional, off until you switch them on; the header repeats at the top of every page.

Pagination is real. Pages break where they should, not at arbitrary points, and long lines inside code blocks wrap instead of running off the edge. Tables keep proportional column widths, so they stay readable on the page.

PDF export and Print (⌘P) share one renderer, so they produce the same document. Prefer the print dialog? Press ⌘P and choose Save as PDF from the PDF menu in the bottom-left. It works whether or not you have a printer set up.

Use whichever fits the moment. ⇧⌘E is the direct path. ⌘P is handy when you're already heading to print and want a copy on disk too.

Footnotes and math

Footnotes ([^1]) and math ($…$) aren't rendered yet, so they show up as plain text in the PDF, the same as they do on screen. Standard Markdown plus tables, task lists, and strikethrough all export the way you'd expect.

Unmarked is a free, private Markdown reader and editor for Mac. Read the story , or get in touch.