mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-19 06:35:44 +01:00
Give code text no mark but code, link and annotation, in every reader
This commit is contained in:
@@ -8,6 +8,7 @@ In `losslessMarkdownToAdf`, a mark spelling skips a node Atlassian's schema with
|
||||
| --- | --- | --- |
|
||||
| a `date`, `emoji`, `inlineCard`, `mention`, `status` or `mediaInline` inside a mark's spelling (`**!adf:mention[@A]{id=x}**`) | the node holds the mark | the node holds only marks its type takes; text beside it keeps the mark |
|
||||
| a link or directive mark around only nodes that cannot take it, hard breaks under a link aside (`[!adf:status[Done]{color=green}](/u)`) | the nodes hold the mark | `unsupported-node-shape`; write the mark around text beside them |
|
||||
| a code span inside any mark's spelling but a link's (``**`npm ci`**``), in every reader | the code text holds the mark | the code text holds only `code` and the link |
|
||||
|
||||
`0.2.0` wrote these spellings for a node holding such a mark; `0.3.0` writes the node as
|
||||
`!adf:carry{json="…"}`. `0.3.0` reads markdown stored from such a document without the mark, or
|
||||
|
||||
Reference in New Issue
Block a user