Some of you may already know or use Silverbullet PDF, but I updated it lately. It now supports viewing and annotating with all the power of the pdf.js viewer (the one Firefox also uses). Saving is done automatically, but you can also print or save to disk from the viewer.
If you are also using Silversearch, you will also be able to search through the text content of PDF files, automatically (If you are just installing Silverbullet PDF, you may need to run Silversearch: Reindex).
Ah, ok you either need the edge release of Silverbullet, which I think is the v2 tag for the docker image, or wait till a new release drops. I don’t know when @zef plans the next release.
It works well on chrome based browsers but I’m running into a bug in safari (iOS and macOS).
The error message:
Failed to navigate: undefined is not an object (evaluating ‘this.iframe.contentWindow.silverbullet.dispatchEvent’)
I think this has to do with the iframe setup and safari being stricter than chrome, which results in window.silverbullet being undefined when initializing the viewer. I’m not sure how to solve the problem though.
Itgghhhhhh Urrghghghhgh, I guess the change I made to the way document editors are built in SB doesn’t really work for safari, because it handles the contentWindow differently during load. Unsure how I will solve this … I’ll have to see.
This is not really significant on desktop anyway, but on mobile it can make the pdf viewing experience quite strange. Not sure whether this is intended behavior though, since the UI components got zoomed because silverbullet itself can be zoomed and the viewer is a "frame" inside SB.
Let us say we have some [[page]] where there's a [[path/to/pdf]] link. Perhaps a sane default would be: In [[page]] we can zoom in or out, and upon clicking on [[path/to/pdf]] the pdf viewer's top bar (which looks like SB) can inherit the size of [[page]] and stay invariant however the PDF gets zoomed.
i annotate a pdf with highlights and notes and then would like to use these annotation in my knowledgebase to summarize main points of the article, add tags and so on. so now with your plug Silverbullet is even more useful for working with journal articles for example
Do you have a reference application, which you think does it well? There is a billion ways to approach this, and honestly I'm not sure what's feasible and works well.