https://github.com/nothingislost/obsidian-print-preview
A plugin to help theme designers debug "export to pdf" issues by allowing them to inspect the print results
https://github.com/nothingislost/obsidian-print-preview
Last synced: 29 days ago
JSON representation
A plugin to help theme designers debug "export to pdf" issues by allowing them to inspect the print results
- Host: GitHub
- URL: https://github.com/nothingislost/obsidian-print-preview
- Owner: nothingislost
- License: gpl-3.0
- Created: 2021-09-04T22:48:27.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-21T18:06:38.000Z (about 3 years ago)
- Last Synced: 2024-11-13T17:45:30.468Z (7 months ago)
- Language: JavaScript
- Size: 2.07 MB
- Stars: 47
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- jimsghstars - nothingislost/obsidian-print-preview - A plugin to help theme designers debug "export to pdf" issues by allowing them to inspect the print results (JavaScript)
README
## Obsidian Print Preview
This plugin helps theme designers debug export to pdf issues by allowing them to inspect the print results
### Features
### Instructions
- 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### FAQ
- 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.### Not currently supported
- 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### Manually installing the plugin
- Copy over `main.js`, `styles.css`, `manifest.json` to your vault `VaultFolder/.obsidian/plugins/obsidian-print-preview/`.