3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-12 19:58:28 +01:00

10f - review: README says to read markdown bound for one document once

This commit is contained in:
2026-09-29 23:35:24 +02:00
parent 6434233b97
commit daf9a4da93
+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
highlight, `[!…]` opening a quote, and `[x]` or `[ ]` opening any list item, since GitHub reads
that marker per item.
- A node read back carries no `localId`, save a `taskList`, `taskItem` or `blockTaskItem`, which
Atlassian's schema requires one on: it gets a UUID v4 hashed from the markdown and its position,
so the same markdown reads to the same ids.
- A node read back carries no `localId` except a `taskList`, `taskItem` or `blockTaskItem`, which
Atlassian's schema requires one on: each gets a UUID v4 hashed from the whole markdown and its
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