slnsys / obsidian-canvas2document

Plugin for Obsidian to convert a complete Canvas to a long form document
https://obsidian.md/plugins?id=canvas2document
MIT License
30 stars 0 forks source link

Request - Generated document to include embedded files in canvas as embedded links #15

Open hghammoud opened 1 week ago

hghammoud commented 1 week ago

Thank you for this great plugin. I am gonna be spoiled and ask for more :D

Currently, if the canvas references a real file note and not just a card, that file is included as a link in the "fromCanvas". The final document fromC2D however does copy the text of that file (with generated linter meta data) but not as an embedded link to that file...

Is it possible to make the files embedded in the canvas appear as embedded links in the final document?

slnsys commented 1 week ago

sorry, missed your mail a few days.

It is actually exactly as described in your request:

In the intermediate file "fromCanvas" there is only a link embedding so that any structural elements in the file do not hinder the adjustment of the overall structure. If, for example, it contains independent headings, this may disrupt the overall structure. You can still move the entire file as a block in the outline because it is only a link.

In the final file there is then a full embedding, from which headings also appear in the outline.

Compare the screenshot, the file has the title "a real file":

image