Goals become one-line aims, their detail moves to the sections that meet them #152

Merged
lilleman merged 7 commits from goals-slogans into main 2026-10-02 21:58:15 +02:00
Showing only changes of commit 4d3231c86b - Show all commits
+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>