MD to PDF Export
unlistedby daeun-kr
Export markdown notes to PDF via print dialog or self-contained HTML. Works on Android, iOS, and desktop.
Updated 1mo ago0BSD
MD to PDF Export
Export markdown notes to PDF directly inside Obsidian. Works on Android, iOS, and desktop.
Features
- One-tap export from ribbon icon, command palette, or file context menu
- Preview rendered note before exporting
- Platform-aware: uses the best available method per device
Platform behavior
| Platform | "Save as PDF" | "Save as HTML" |
|---|---|---|
| Desktop (Mac/Windows/Linux) | Generates .pdf file directly via Electron | Saves .html file to vault |
| iOS (16+) | Opens system print dialog via WKWebView | Saves .html file to vault |
| Android | Saves .html + shows step-by-step instructions | Saves .html file to vault |
Android PDF workflow
After tapping "Save as PDF (via Chrome)":
- Open the saved
.htmlfile from your vault - Open in Chrome
- Menu -> Share -> Print
- Save as PDF
Usage
Open any markdown note, then use one of:
- Ribbon icon -- tap the
file-downicon in the left sidebar - Command palette --
Ctrl+P-> "MD to PDF Export: Export current note" - File context menu -- long-press a file -> "Export to PDF / HTML"
A preview modal opens. Tap Save as PDF or Save as HTML.
Manual installation
Copy main.js, manifest.json, and styles.css into:
VaultFolder/.obsidian/plugins/md-to-pdf/
Then enable the plugin under Settings -> Community plugins.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.