obsidian-pdf-plus icon indicating copy to clipboard operation
obsidian-pdf-plus copied to clipboard

Canvas

Open RyotaUshio opened this issue 1 year ago • 4 comments

Interesting: https://forum.obsidian.md/t/make-a-better-pdf-annotation-in-canvas/61298

Currently, PDF++ does not support Canvas because internal links in canvas files are not indexed by Obsidian. However, it would be possible to highlight backlinks from the same canvas file that the PDF viewer is embedded in by inventing the wheel.

We could also add a new option such as "create a card from text selection" in Canvas.

RyotaUshio avatar Feb 07 '24 07:02 RyotaUshio

Research memo: when opening a canvas file with PDF,

app.workspace.activeLeaf.view.canvas.nodes.values().next().value.child

is a PDFEmbed instance.

RyotaUshio avatar Feb 07 '24 09:02 RyotaUshio

@RyotaUshio +100 for the "Create card from text selection" concept

diehl avatar Feb 16 '24 19:02 diehl

Datacore 0.1.17 has added experimental canvas indexing! https://github.com/blacksmithgu/datacore/releases/tag/0.1.17

I guess now I don't have to implement the tedious indexing part myself. Maybe this issue can be moved forward on top of this datacore update? (also contributions are welcomed)

RyotaUshio avatar Jul 27 '24 04:07 RyotaUshio

For now, Datacore's canvas parser has a bit of problems so I won't implement this feature very soon. But I do want to when datacore is ready.

RyotaUshio avatar Oct 08 '24 02:10 RyotaUshio