c6p / logseq-hypothesis

Logseq plugin for hypothes.is
MIT License
86 stars 14 forks source link

added the option for the plugin to render hypothesis elements as links #23

Open anotherdish opened 1 year ago

anotherdish commented 1 year ago

basically this code just implements an option that allows the hypothesis items that get rendered to be clickable links that take you directly to the source item

this allows us to do things like what is possible with the logseq pdf annotations, where the highlights are clickable and take you directly to the line in the PDF

anotherdish commented 1 year ago

also, im assuming that the reason for putting the hid annotation in each of the items is because we want to be able to revisit the highlight/annotation later, but if we have links that will take users directly back to the annotation then you can probably just get rid of putting the annotation in right? I'm separately having an issue with multi-line highlights, where the annotation gets rendered at the end of the first newline... i might look into it sometime later this week

image