An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

## Obsidian Print Preview

This plugin helps theme designers debug export to pdf issues by allowing them to inspect the print results

### Features

plugin demo

### 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/`.