Goals become one-line aims, their detail moves to the sections that meet them #152
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user