elias-sundqvist / obsidian-annotator

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

Example needed in documentation #93

Open ge opened 2 years ago

ge commented 2 years ago

In the Getting Started section, you write:

If you have dataview installed, then you can also specify the annotation target with a dataview attribute.

Could you give an example?

Thank you.

chinobing commented 2 years ago

any examples of using dataview for obsidian-annotator wll be appreciated. thank you

ms3056 commented 1 year ago

I sorted this out - it is a good question.

I add the the following onto a document for a LOCAL PDF file. I had the Dataview plugin installed and enabled:

annotation-target:: "c:\file.pdf"

When I open the page it runs Annotator. Click the three dots in the upper corner of the Obsidian interface to "Open As Markdown" to go back to your back. To view again as Annotator I clicked control+p (windows) and selected the command "Annotator Toggle Annotator / Markdown Mode".

Hope this helps!