CiceroIsBack / loam

loam: Logseq + Foam (VS Code plugin)
https://marketplace.visualstudio.com/items?itemName=ciceroisback.loam
Other
15 stars 3 forks source link

Support for block IDs as links #9

Open CiceroIsBack opened 9 months ago

CiceroIsBack commented 9 months ago

Logseq allows linking to blocks through a block ID system.

As I understand it, when the user requests a reference to a specific block, Logseq uses a random number generator to create a block ID, then inserts that ID as a property in the block that is being referenced.

usage example:

demonstration of block ID and usage

At this stage, Loam should at least support clicking on block IDs (cmd+click, just like normal links) to go to the referenced block. At a future stage we should also consider block-level embeds (foam already support page embeds, so block embeds shouldn't be that much harder), and previewing the contents of a referenced (not embedded) block in the markdown preview panel.