elias-sundqvist / obsidian-annotator

A plugin for reading and annotating PDFs and EPUBs in obsidian.
GNU Affero General Public License v3.0
1.46k stars 68 forks source link

File preview on hover #118

Open ArthurThiam opened 2 years ago

ArthurThiam commented 2 years ago

One of the benefits of the "vanilla" .pdf integration in obsidian is the ability to preview the content of the .pdf by hovering over the link. With annotator, this preview now points to .md file with annotations. It would be fantastic to have an option to set this pointer to the .pdf if the user desires.

huyz commented 2 years ago

If you use https://github.com/nothingislost/obsidian-hover-editor it will get you halfway there: you can hover the Markdown file and then you can hover over the PDF link inside that Markdown file. The second pop-up will have your PDF, albeit without the Annotator highlights overlaid on top of the PDF