3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-13 04:08:29 +01:00

Answer the product-owner review's third round

This commit is contained in:
2026-10-02 17:41:54 +02:00
parent f4573ff9f1
commit 37b9079539
+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
result; no I/O, no configuration. `markdownToHtml` and `htmlToMarkdown` convert through ADF, so
they drop whatever ADF cannot hold.
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
adfToMarkdown(doc: AdfDocument): Result<string>