mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-12 19:58:28 +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:
@@ -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
|
||||
result; no I/O, no configuration. `markdownToHtml` and `htmlToMarkdown` convert through ADF:
|
||||
Serves [Goals](#goals) 1, 2 and 8. Pure functions, each taking a whole document and returning a
|
||||
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.
|
||||
|
||||
```ts
|
||||
|
||||
@@ -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
|
||||
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
|
||||
left, so a Proxy claiming 2³² elements is refused at once. The code that refusal takes follows
|
||||
`docs/decisions.md` §Which code a cause takes; where it reads two ways, the chunk asks. Found by the
|
||||
left, so a Proxy claiming 2³² elements is refused at once. The chunk asks whether that refusal
|
||||
shares the 500-level guard's `unsupported-nesting-depth` or takes another code. Found by the
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user