This plugin helps theme designers debug export to pdf issues by allowing them to inspect the print results
- Export to PDF as you normally would
- After export, the rendered print window will show up overlaid on top of your workspace
- You can now use the Dev Tools inspector to check the styling of the printed content
- To dismiss the print window, left click anywhere in the workspace
- My PDF doesn't look like the print preview
- Make sure to set "Emulate CSS media type" to "print" in chrome (see the demo video for details)
- I dismissed the print preview and now my Obisidian screen is blank
- Make sure to turn "Emulate CSS media type" back to "no emulation" as the default Obsidian theme hides all UI elements in print media mode.
- Viewing the preview prior to PDF creation
- The preview will only be visible after export has completed.
- Downscale support
- Currently the preview will show at 100% despite the % specified in the downscale setting
- Copy over
main.js
,styles.css
,manifest.json
to your vaultVaultFolder/.obsidian/plugins/obsidian-print-preview/
.