Logseq/Block/Id
Logseq Block Id
- In Logseq, a block can have an id. For example:
- here is a block with an id
- here's a child block of a block with an id
- By default, blocks don't have an id. It's added to Logseq/Block/Attribute/id at the moment one copies a reference to the block (for example, if one's cursor is in edit mode in a block without text selected, and one presses Cmd+c, then the a block id is generated and placed on that block). Once you have a reference to the block, you can point to it elsewhere, like this:
- You can also embed block, which also embeds that block's children.
- here is a block with an id
- here's a child block of a block with an id
- You could logseq doesn't show the id by default, but it exists on disk.
- Logseq block ids are UUIDs. Here's the text that renders the block link above:
((6ab79a92-405e-4723-9253-252e619fdc57)). In the markdown file, block attributes look like id:: 6ab79a92-405e-4723-9253-252e619fdc57.