Guide & Tips: Convert Markdown to PDF
The editor supports exporting beautifully formatted documents with equations and diagrams to PDF. Follow these configuration steps for the best results.
ð ïļ Step-by-Step PDF Export Guide
1
Select Export to PDF
Click the "Export" button in the header toolbar, or hover over a note in the sidebar and click the "Export" icon. In the popup drawer, click "Export PDF Document (.pdf)".
2
Select "Save as PDF" as Destination
The browser's native print preview dialog will appear automatically. If your computer is connected to a physical printer, switch the "Destination" dropdown menu to "Save as PDF".
3
Turn Off "Headers and Footers" (Very Important)
In the print settings panel, click "More settings". Locate the "Headers and footers" checkbox and be sure to uncheck it. This hides default browser headers (like page URLs and dates) and footers, keeping the output document clean and professional.
4
Adjust Margins and Paper Size
- Paper size: Choose A4 by default (or Letter size depending on your audience).
- Margins: Usually choose "Default". If your document contains wide tables or equations, select "Custom" and drag the margin boundary lines to allocate enough space, or choose "None".
â ïļ Common Pitfalls & Solutions
ð Printing in Dark Mode Theme
If your editor is currently set to Dark Theme:- Ensure you check the "Background graphics" option in "More settings". Otherwise, code block background colors, table borders, and icons will not be rendered in the PDF.
- Ink-Saving Tip: If you plan to physically print the PDF, switch the editor to Light Mode via the sun/moon icon in the header before exporting.
ð Missing Mermaid Charts or Formulas?
If individual math equations or Mermaid flowcharts are blank or fail to render in the PDF:This is because browser print previews only load elements that have entered the viewport. Before exporting, scroll the document from top to bottom quickly in the editor to ensure all KaTeX formulas and Mermaid diagrams are fully loaded.