ShrekBytes33 downloadsExport notes as pixel-perfect PDFs with live preview, style presets, manual page breaks, tables, and full layout control.
Export Obsidian notes as pixel-perfect PDFs with six style presets, manual page breaks, full layout control, and a live preview — all from the plugin panel.
Desktop only — requires the Obsidian desktop app (uses Electron's print pipeline).

Ctrl+Enter / Cmd+Enter to update the preview/// on its own line to force a page break# (H1) or ## (H2) headingprintToPDF; exported PDF matches preview exactlyType /// on its own line to insert a hard page break

Presets configurations can be changed from settings



and more...



main.js, manifest.json, and styles.css from the latest release..obsidian/plugins/advanced-pdf-export/.Open the panel — click the file-output icon in the left ribbon, or Ctrl/Cmd + P → Open Advanced PDF Export panel. The panel opens in the right sidebar.
Load a note — click on a note then click on copy from note button to load the active note into the editor. Edits are local to this panel; they don't sync back to your vault (by design, for layout-only adjustments).
Edit markdown — type or paste markdown in the editor.
Insert Pagebreak - Use /// on its own line for a page break(new page).
Export — click ⬇ Export PDF in the top bar to open a native save dialog and generate the PDF.
Open settings — click the ⚙ icon in the top bar, or go to Settings → Advanced PDF Export.
Go to Settings → Advanced PDF Export to configure defaults. All settings reflect immediately in the live preview.
| Setting | Description |
|---|---|
| Preset | Style theme: Default, Minimal, Academic, Colorful, Modern, Newspaper |
| Reset Preset | Restores all typographic and color values for the current preset to its defaults |
| Setting | Description |
|---|---|
| Page size | A4, A3, A5, Letter, Legal |
| Orientation | Portrait or Landscape |
| Margins (Top / Bottom / Left / Right) | In mm |
| Setting | Options |
|---|---|
| Font family | Georgia, Times New Roman, Palatino, Arial, Helvetica, Trebuchet, Courier New |
| Font size | 10 – 16 px |
| Line height | Tight (1.4) → Double (2.0) |
| Paragraph spacing | None → Wide (1em) |
| Heading scale | 0.8× → 1.2× multiplier on all heading sizes |
Accent · Body text · Headings · Blockquote border · Table header background · Code background
| Setting | Description |
|---|---|
| H1 bottom border | Draws a line under every H1 |
| H2 bottom border | Draws a subtle line under every H2 |
| Center H1 | Centers all H1 headings |
| Setting | Description |
|---|---|
| Striped rows | Alternating row background on even rows |
| Setting | Description |
|---|---|
| Show header | Toggle the header bar on or off |
| Header text | Custom text shown top-right on every page |
| Show footer | Toggle the footer bar on or off |
| Footer text | Custom text shown in the footer |
| Show page numbers | Toggle Page X / Y display |
| Page number position | Left, Center, or Right |
| Setting | Description |
|---|---|
| Auto page break before H1 | Inserts /// before every # heading |
| Auto page break before H2 | Inserts /// before every ## heading |
Open source under GPL-3.0 License