akaalias / obsidian-extract-pdf-highlights

Extract highlights, underlines and annotations from your PDFs into Obsidian
220 stars 10 forks source link

Expose API to process PDFs #23

Open mgmeyers opened 2 years ago

mgmeyers commented 2 years ago

Hi there,

I recently built a plugin to pull in data from Zotero to Obsidian: https://github.com/mgmeyers/obsidian-zotero-desktop-connector

My plugin can access PDFs stored in Zotero, and I'd love to be able to send them to this plugin to extract highlights. I think I could do this if ExtractPDFHighlightsPlugin had something similar to processPDFHighlights that received an ArrayBuffer. That way I could load the PDF and send it to your plugin for processing.

Let me know what you think!