Tomas Gutierrez31 downloadsOpen PDFs using fit height by default instead of fit width
Fit PDF is an Obsidian plugin that opens PDF files with fit height enabled by default instead of fit width.
Obsidian's built-in PDF viewer currently initializes PDFs at page-width. This plugin switches newly opened PDFs to page-height, so an entire page fits vertically in the reading pane.
Clone this repository.
Copy these files into your vault:
YOUR_VAULT/.obsidian/plugins/fit-pdf/main.js
YOUR_VAULT/.obsidian/plugins/fit-pdf/manifest.json
YOUR_VAULT/.obsidian/plugins/fit-pdf/versions.json
In Obsidian, open Settings -> Community plugins.
Turn off Restricted mode if needed.
Enable Fit PDF.
Reopen a PDF.