3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-12 11:48:29 +01:00

Name the withheld-mark seeding where a carry is decided, and say code text takes no other spelled mark but link

This commit is contained in:
2026-10-14 21:07:14 +02:00
committed by Lillem4n
parent 498e874831
commit 7c69ce5d53
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -550,8 +550,8 @@ A block's `marks` key also holds these, which no inline spelling wraps:
- `indentation` — Attributes: `level` (number, 1–6).
A spelling adds its mark to every inline node it wraps that Atlassian's schema gives the mark. Text
takes every mark, except text marked `code`, which takes only `link`: ``**`npm ci`**`` reads as
plain code. Of the marks a spelling makes, `date`, `emoji`, `hardBreak`, `inlineCard`, `mention`
takes every mark, except text marked `code`, which takes no other spelled mark but `link`:
``**`npm ci`**`` reads as plain code. Of the marks a spelling makes, `date`, `emoji`, `hardBreak`, `inlineCard`, `mention`
and `status` take none, and `mediaInline` takes only `border` and `link`. Nesting is the
marks array in order, outermost first: `_!adf:underline[x]_` gives marks `[em, underline]`,
`!adf:underline[_x_]` the reverse. `adfToLosslessMarkdown` nests in the order the array holds rather than sorting it — `docs/decisions.md` §Equality is deep restores