The things is, the underlying data structure is just plaintext, so having an ID for each block will make the plaintext look out of place (say, if you wanna move your files to another app).
But I'll add some special syntax to allow this feature for specialized blocks.
Indeed, this is definitely a problem for Logseq. For example here's some of my recent Logseq notes. This is one page where you can see an "ID" (represented by `id:: <guid>` is created. Then helpful images/diagrams are displayed. This is then referenced later:
- Parts of a [[Neuron]]
id:: 64f4bdc3-29de-4b6c-bc41-20a5f052badf
- Dendrite: https://en.m.wikipedia.org/wiki/Dendrite
- {:height 411, :width 718}
- Axon: https://en.m.wikipedia.org/wiki/Axon
- {:height 471, :width 718}
Then in a different page, this is referenced by ID. In this case it is "embedded" but you can also reference and other possibilitie: - #vocabulary [[Brain Myths Exploded]] #Notes
- {{embed ((64f4bdc3-29de-4b6c-bc41-20a5f052badf))}}
- Encephalization Quotient (not a good measurement)I just noticed Logseq doesn't support selecting and editing text across multiple blocks. It's indeed not easy to do, but Plume does support this, I believe it's an essential feature for a text editor. Notion took a long time until they supported this[1]. I implemented it in less than a month using C++ and QML, a testament more to the strengths of Qt than to my own skills as a developer.
By logseq's on-disk format, it is local first but it's a stricter subset of markdown with a handful of extensions. The strictness is because Logseq parses all the markdown into an in-memory graph database, and in order to make that work with markdown the top-level has to be a list and needs some IDs and other identifiers in order to properly link/embed blocks and pages and such.