mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-13 04:08:29 +01:00
Answer architecture round 2: 1 🔴, 0 🟡; cite item 117 in the GFM refusal entry, name the url fallback
This commit is contained in:
@@ -374,7 +374,7 @@ saving what this pair read replaces mentions, attachments and macros with text.
|
||||
| `backgroundColor` | `==text==` | `==text==` on one line, the text touching both delimiters, bounded outside by whitespace, punctuation or a line edge, or touching a Han, Hangul, Hiragana, Katakana, Thai, Lao, Khmer or Myanmar character on either side, in the editor's default highlight `#f8e6a0` |
|
||||
| `decisionList` | a bullet list | — |
|
||||
| `expand`, `nestedExpand` | Obsidian's folded callout, `> [!NOTE]- Title` | `-` or `+` after any word, the rest of the marker's line the title; a link reads `text (target)`, or its text alone where the text is the target with or without `mailto:`; an expand inside an expand is a `nestedExpand` |
|
||||
| external `media` | in a block ``, or `[](href)` where a link marks it; inline `[alt](url)`, or `[alt](href) ([image](url))` where a link to another target marks it, the link text `href` where `alt` is empty | — |
|
||||
| external `media` | in a block ``, or `[](href)` where a link marks it; inline `[alt](url)`, or `[alt](href) ([image](url))` where a link to another target marks it, the link text `href`, else `url`, where `alt` is empty | — |
|
||||
| `inlineCard`, `blockCard`, `embedCard` | a link to the card's URL, else its name | — |
|
||||
| `layoutSection`, `bodiedExtension`, `bodiedSyncBlock`, `multiBodiedExtension`, `extensionFrame`, `caption`, a node this version does not know | its blocks or its text | — |
|
||||
| `mention`, `status`, `emoji`, `date` | their text: `@` kept, a mention with none `@` and its id, an emoji its `shortName` without, a date `2026-09-13` in UTC | — |
|
||||
|
||||
+2
-1
@@ -354,7 +354,8 @@ past `[x]`/`[ ]`, and lifting bare URLs, `@name`, `:shortcode:` or ISO dates int
|
||||
## The portable reader refuses what GFM's reading would drop
|
||||
|
||||
2026-10-14, the maintainer. Goals 4 and 7. Valid while a refusal is a result and the caller can
|
||||
fix the markdown it sent.
|
||||
fix the markdown it sent, and until `todo.md` item 117 settles whether Goal 4, which ranks above
|
||||
Goal 7, reads such a row instead.
|
||||
|
||||
Where GFM's reading of a shape drops content, `portableMarkdownToAdf` refuses the shape. A pipe
|
||||
table row holding more cells than its header is `malformed-pipe-table`, where GFM cuts the extra
|
||||
|
||||
Reference in New Issue
Block a user