How to save Markdown as a PDF
- Paste Markdown, open a local
.mdor.markdownfile, or load the sample release notes. - Check headings, tables, and code in the document preview.
- Choose Print / Save PDF. In the browser’s print dialog, select Save as PDF or the equivalent PDF destination on your device.
Tables, code blocks, and page breaks
Print styles wrap long code lines and table cells to fit the paper. Try landscape orientation in the print dialog for tables with many columns.
To start a section on a new page, put <div class="page-break"></div> on its own line with blank lines around it. The dashed rule marks the break in the on-screen preview.
Linked images appear as their alternative text. You can include an image by embedding a supported raster data URL in the Markdown.