From 7bcbf49963bdca1392d65e867597b9fb39db66d4 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Fri, 23 Oct 2026 19:39:19 +0200 Subject: [PATCH] =?UTF-8?q?Answer=20architecture=20round=203:=200=20?= =?UTF-8?q?=F0=9F=94=B4,=201=20=F0=9F=9F=A1=20(0=20misread);=20the=20data-?= =?UTF-8?q?*=20and=20carry=20contract=20names=20its=20elements,=20an=20ite?= =?UTF-8?q?m's=20first=20paragraph=20holding=20an=20attribute=20on=20the?= =?UTF-8?q?=20item's=20line=20(panel=206=20of=207)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 17 +++++++++-------- docs/decisions.md | 6 ++++++ spec/html.md | 13 ++++++++----- src/html/emit/adf-to-html.test.ts | 14 +++++++++----- src/html/emit/adf-to-html.ts | 19 +++++++++++++------ 5 files changed, 45 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index ec8107d..4bc5361 100644 --- a/README.md +++ b/README.md @@ -466,15 +466,15 @@ saving what this pair read replaces mentions, attachments and macros with text. ## HTML Serves [Goals](#goals) 1, 6 and 7. `adfToHtml` writes the HTML element for each node HTML has one -for, an attribute HTML has none for as `data-*`, and keeps every other node whole: an element of -class `adf-carry` holds the node's JSON in `data-adf` and shows the node's content, its links -included, so a reader of the page loses no content. No stylesheet ships. The complete dialect: +for, and keeps every other node whole: an element of class `adf-carry` holds the node's JSON in +`data-adf` and shows the node's content, its links included, so a reader of the page loses no +content. No stylesheet ships. The complete dialect: [`spec/html.md`](https://github.com/larvit/adf-codec/blob/main/spec/html.md). | ADF | HTML | | --- | --- | | `blockquote` | `
` | -| `bulletList`, `orderedList`, `listItem` | `