Answer the product-owner review's third round
CI / gate (push) Successful in 41s
CI / publish (push) Has been skipped

This commit is contained in:
2026-10-02 17:41:54 +02:00
parent 95af770e0a
commit 4d3231c86b
+2 -2
View File
@@ -70,8 +70,8 @@ if (result.ok) {
``` ```
Serves Goals 1, 2 and 7. Pure functions, each taking a whole document and returning a whole Serves Goals 1, 2 and 7. Pure functions, each taking a whole document and returning a whole
result; no I/O, no configuration. `markdownToHtml` and `htmlToMarkdown` convert through ADF, so result; no I/O, no configuration. `markdownToHtml` and `htmlToMarkdown` convert through ADF:
they drop whatever ADF cannot hold. they keep only what ADF holds, and refuse what `markdownToAdf` or `htmlToAdf` refuses.
```ts ```ts
adfToMarkdown(doc: AdfDocument): Result<string> adfToMarkdown(doc: AdfDocument): Result<string>