mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-19 14:45:44 +01:00
Build text holding no border mark in losslessMarkdownToAdf, and carry text holding one
This commit is contained in:
+1
-1
@@ -556,7 +556,7 @@ 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 no other spelled mark but `link`:
|
||||
takes every mark but `border`, and text marked `code` 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]`,
|
||||
|
||||
Reference in New Issue
Block a user