elipexx61 downloadsHighlight, add notes, text and drawings to PDFs in a Preview-style viewer, saved into the PDF file itself.
Highlight, write notes, add text and draw on the PDFs in your vault, in a viewer inspired by macOS Preview. Everything you add is saved into the PDF file itself, as standard PDF annotations, so you don't need to link your highlights to a note.
(Versión en español: README.es.md.)
Status: early release (0.1.0). Highlights, text boxes and notes were tested on real papers. Drawing and comments on highlights come from pdf.js and are less tested here. Please keep a copy of PDFs you can't afford to lose (the plugin also makes a backup, see below).
Cmd/Ctrl+S to save immediately.This plugin opens PDFs in its own viewer tab; it does not replace Obsidian's built-in PDF viewer. Features of the built-in viewer that are not part of this one (for example searching inside the PDF, or the outline panel) are not available in this tab.
.obsidian/plugins/pdf-markup/backups/. Backups are not deleted automatically; remove them when you no longer need them.pdf-lib library. PDFs that can't be rewritten (for example encrypted ones) will still get their highlights, text and drawings saved, and the plugin will tell you the notes could not be written.Mendeley Integration, which can download a reference's PDF into your vault so you can mark it up here.
npm install
npm run build # type-check + production build (main.js, styles.css)
npm run lint # Obsidian community review rules
npm test # unit tests for the note-writing logic
The viewer is built on pdf.js (Apache License 2.0), bundled into main.js together with pdf-lib (MIT). Their licenses are in THIRD_PARTY_LICENSES.md.
MIT. See LICENSE.