mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-18 22:25:44 +01:00
Answer stability round 2: the advice names the array limit, the guard's test names both, and the decision rewraps
This commit is contained in:
+4
-4
@@ -462,10 +462,10 @@ handles one cause alike whichever node, attribute or direction raised it.
|
||||
- A non-finite number takes two codes: `unsupported-node-shape` parsing, `not-an-adf-document`
|
||||
emitting — no document holds one, so no round-trip crosses them (2026-09-23).
|
||||
- A document whose markdown would be longer than the longest string or array the JavaScript engine
|
||||
builds is `unsupported-node-shape` at the document's path, in either writer: the document does not
|
||||
convert, and the bound is the engine's own. A carried node reaches it on about 1 MB of deeply nested JSON,
|
||||
since the block carry indents two spaces a level; `todo.md` item 107 spells it in a length linear
|
||||
in its JSON (2026-10-11).
|
||||
builds is `unsupported-node-shape` at the document's path, in either writer: the document does
|
||||
not convert, and the bound is the engine's own. A carried node reaches it on about 1 MB of
|
||||
deeply nested JSON, since the block carry indents two spaces a level; `todo.md` item 107 spells
|
||||
it in a length linear in its JSON (2026-10-11).
|
||||
- The markdown readers and `htmlToAdf` refuse a value that is not a string as `not-a-string`, at
|
||||
position `{ line: 1, offset: 0 }` with an empty path: no existing code reads true of it, and
|
||||
`not-an-adf-document` names the emitters' input (2026-10-05).
|
||||
|
||||
Reference in New Issue
Block a user