mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-18 06:05:43 +01:00
Answer prose round 1: 0 🔴, 4 🟡 (0 misread); count seven panels, name the reader panel's entry, wrote the carry in the record, sort the mark row, name 0.3.1
This commit is contained in:
+2
-2
@@ -2,8 +2,8 @@
|
||||
|
||||
## Unreleased
|
||||
|
||||
- `adfToHtml` writes a `strike` mark as `<del>`, where it wrote the carry element, and `htmlToAdf` reads
|
||||
`<del>` as `strike`. A carry element written before still reads.
|
||||
- `adfToHtml` writes a `strike` mark as `<del>`, where `0.3.1` wrote the carry element, and `htmlToAdf` reads
|
||||
`<del>` as `strike`. The carry element `0.3.1` wrote for it still reads.
|
||||
- `adfToPlainText` writes a document as text with no markup, for a search index, a notification or an
|
||||
email: blocks a blank line apart; `• ` and `1.` list markers, `☑ ` and `☐ ` for a done and an open
|
||||
task, nesting indented; a link's address and title in parentheses after its text; a hard break as a
|
||||
|
||||
+8
-6
@@ -420,7 +420,7 @@ for HTML+, its Rovo MCP server's HTML for agents; a published spec reopens the g
|
||||
The HTML dialect mirrors the markdown flavour: semantic elements, stable `adf-*` classes, `data-*`
|
||||
for what HTML cannot express, text always escaped. No stylesheet ships.
|
||||
|
||||
The spellings, `spec/html.md`, are six writer panels' (2026-10-23, -24, 2026-11-04 and -05), each of a
|
||||
The spellings, `spec/html.md`, are seven writer panels' (2026-10-23, -24, 2026-11-04, -05 and -14), each of a
|
||||
product manager, an engineer and a support agent. The first picked each of these 3 of 3:
|
||||
|
||||
- an image standing alone as `<p><img …></p>`, over `<figure>` and a bare `<img>`;
|
||||
@@ -489,9 +489,11 @@ A sixth panel (2026-11-05, three readers in the same roles) picked each of these
|
||||
- a cell's attributes as `<td colspan="2" rowspan="2" style="background-color:#fffae6" data-colwidth="120,80">`,
|
||||
over `data-*` for all four.
|
||||
|
||||
A seventh panel (2026-11-14, three readers in the same roles, after a reader panel expected `<s>` or
|
||||
`<del>`) picked `<del>old</del>` for a `strike` mark, 3 of 3, over `<s>` and over a `<span>` styled
|
||||
`text-decoration:line-through`: its name says what the text is, and GFM's renderers write it for `~~`.
|
||||
A seventh panel (2026-11-14, three readers in the same roles, after the reader panel of §The feature
|
||||
table is a section per corpus example, led by a summary table expected `<s>` or `<del>`) picked
|
||||
`<del>old</del>` for a `strike` mark, 3 of 3, over `<s>` and over a `<span>` styled
|
||||
`text-decoration:line-through`. They chose `<del>` because its name says the text is removed, and
|
||||
GFM's renderers write `<del>` for `~~`.
|
||||
|
||||
## `htmlToAdf` also reads the dialect as a browser serializes it
|
||||
|
||||
@@ -1282,8 +1284,8 @@ wide pipe table and over one wide HTML table with a `<pre>` per cell. Examples c
|
||||
A reader panel (2026-11-05, goal 6) judged each of the page's fifteen rows. The same three personas
|
||||
first wrote what they expected of the three writers for every example, each in its own shuffled
|
||||
order, then saw the page's outputs and ruled each row reasonable or not. Eleven rows drew 3 of 3
|
||||
reasonable. Three drew 3 of 3 not reasonable, each because `adfToHtml` writes a node or mark it
|
||||
knows as an opaque `adf-carry` element. An editor shows that element's visible copy, and an edit to
|
||||
reasonable. Three drew 3 of 3 not reasonable, each because `adfToHtml` wrote a node or mark it
|
||||
knew as an opaque `adf-carry` element. An editor shows that element's visible copy, and an edit to
|
||||
the copy is refused as `unmappable-html` rather than saved. They expected:
|
||||
|
||||
- A panel as `<div class="adf-panel" data-panel-type="warning"><p>…</p></div>`, with its `localId`,
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@ block's `data-*` attributes stand on its `<pre>`.
|
||||
| ADF | HTML |
|
||||
| --- | --- |
|
||||
| `date` | `<time class="adf-date" datetime="2025-08-25" data-timestamp="1756080000000">2025-08-25</time>`, the day in UTC |
|
||||
| `em`, `strike`, `strong`, `code` | `<em>`, `<del>`, `<strong>`, `<code>` around the text |
|
||||
| `code`, `em`, `strike`, `strong` | `<code>`, `<em>`, `<del>`, `<strong>` around the text |
|
||||
| `emoji` | `<span class="adf-emoji" data-id="1f389" data-short-name=":tada:">🎉</span>`, its `text` the content |
|
||||
| `hardBreak` | `<br>` |
|
||||
| `inlineCard`, holding a `url` | `<a class="adf-inline-card" href="https://example.com/spec">https://example.com/spec</a>` |
|
||||
|
||||
Reference in New Issue
Block a user