3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-20 07:05:44 +01:00

Answer prose round 2: item 77 names its open code question, rewrap the quick start's goals line

This commit is contained in:
2026-10-05 08:59:45 +02:00
committed by Lillem4n
parent 4d4f292fbe
commit 459b64ceda
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -48,8 +48,8 @@ if (result.ok) {
} }
``` ```
Serves [Goals](#goals) 1, 2 and 8. Pure functions, each taking a whole document and returning a whole Serves [Goals](#goals) 1, 2 and 8. Pure functions, each taking a whole document and returning a
result; no I/O, no configuration. `markdownToHtml` and `htmlToMarkdown` convert through ADF: whole result; no I/O, no configuration. `markdownToHtml` and `htmlToMarkdown` convert through ADF:
they keep only what ADF holds, and refuse what `markdownToAdf` or `htmlToAdf` refuses. they keep only what ADF holds, and refuse what `markdownToAdf` or `htmlToAdf` refuses.
```ts ```ts
+2 -2
View File
@@ -116,8 +116,8 @@ still claim unbounded width, which the 500-level limit does not cover, so the co
million JSON values, each object, array, string, number, boolean and null counting one (the million JSON values, each object, array, string, number, boolean and null counting one (the
maintainer, 2026-10-05): roughly 50 to 100 MB of JSON, far past any real page, where 10 000 would maintainer, 2026-10-05): roughly 50 to 100 MB of JSON, far past any real page, where 10 000 would
refuse a 500-row table. Before reading an array, the reader checks its `length` against the values refuse a 500-row table. Before reading an array, the reader checks its `length` against the values
left, so a Proxy claiming 2³² elements is refused at once. The code that refusal takes follows left, so a Proxy claiming 2³² elements is refused at once. The chunk asks whether that refusal
`docs/decisions.md` §Which code a cause takes; where it reads two ways, the chunk asks. Found by the shares the 500-level guard's `unsupported-nesting-depth` or takes another code. Found by the
technical-principles audit, 2026-10-04. technical-principles audit, 2026-10-04.
### 71. Add a README table comparing the package with the other ADF converters, each cell checked against that package's own docs or behaviour. ### 71. Add a README table comparing the package with the other ADF converters, each cell checked against that package's own docs or behaviour.