mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-20 15:15:44 +01:00
Give code text no mark but code, link and annotation, in every reader
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
`unsupported-node-shape`, even in markdown `adfToLosslessMarkdown` wrote. A link around hard
|
||||
breaks alone still reads as before. `adfToLosslessMarkdown` writes a node holding a mark its type
|
||||
cannot take as `!adf:carry{json="…"}`. `MIGRATION.md` says how to convert stored markdown.
|
||||
- **Breaking:** every reader gives code text no mark but `link` and `annotation`, as Atlassian's
|
||||
schema requires: ``**`npm ci`**`` now reads as plain code, and a directive mark around only code
|
||||
spans is `unsupported-node-shape`. `adfToLosslessMarkdown` writes code text holding another mark
|
||||
as `!adf:carry{json="…"}`, and `adfToPortableMarkdown` drops that mark.
|
||||
- `losslessMarkdownToAdf` names the CommonMark spelling to write when it refuses a directive whose
|
||||
node CommonMark spells, such as `[](href)` for a linked `!adf:mediaSingle`.
|
||||
- The README compares the package with seven other ADF converters, each checked against its
|
||||
|
||||
Reference in New Issue
Block a user