10f - plainMarkdownToAdf mints task localIds as UUID v4s hashed from the markdown and position #148

Merged
lilleman merged 5 commits from 10f into main 2026-09-29 23:38:52 +02:00
Showing only changes of commit 050e52296a - Show all commits
+4 -3
View File
@@ -158,9 +158,10 @@ read replaces mentions, attachments and macros with text.
- Text that would read as a marker takes a backslash: `==` wherever it could open or close a - Text that would read as a marker takes a backslash: `==` wherever it could open or close a
highlight, `[!…]` opening a quote, and `[x]` or `[ ]` opening any list item, since GitHub reads highlight, `[!…]` opening a quote, and `[x]` or `[ ]` opening any list item, since GitHub reads
that marker per item. that marker per item.
- A node read back carries no `localId`, save a `taskList`, `taskItem` or `blockTaskItem`, which - A node read back carries no `localId` except a `taskList`, `taskItem` or `blockTaskItem`, which
Atlassian's schema requires one on: it gets a UUID v4 hashed from the markdown and its position, Atlassian's schema requires one on: each gets a UUID v4 hashed from the whole markdown and its
so the same markdown reads to the same ids. position, the same on every read. Join markdown bound for one document and read it once: the same
markdown read twice into one document repeats its ids.
## The errors ## The errors