1.5 KiB
1.5 KiB
name, tags, files, share.uri, share.hash, share.mode
| name | tags | files | share.uri | share.hash | share.mode | |
|---|---|---|---|---|---|---|
| Library/mrmugame/Silverbullet-PDF | meta/library |
|
ghr:MrMugame/silverbullet-pdf/PLUG.md | 3498d9f9 | pull |
Silverbullet PDF
This plug adds the ability to Silverbullet to view and annotate pdfs using a slightly modified version of the pdfjs viewer. If used with Silversearch, Silverbullet PDF can extract text content from PDFs to help you search through them.
Installation
Silverbullet PDF is part of the Std repostitory and can by installed using the Library Manager. You will have to navigate to Library/Std/Pages/Library Manager in your space and look for Silverbullet PDF under the available libraries and press Install.
Internals
The build process of this plug is rather weird. The steps are as follows
- Uing
deno task downloadthe pdfjs repo will be cloned and thepdfjs.patchpatch will be applied. I opted for this approach, because I wanted to avoid an extra repo for the few changes - Using
deno task installall npm install commands are run - Using
deno task buildthe build process will be run. This will firstly build pdfjs, copy all the important files over and then do thetypicalvite (ui) + deno (worker) build.
