Name plainMarkdownToAdf in the empty-markdown changelog entry
This commit is contained in:
+2
-2
@@ -8,8 +8,8 @@
|
|||||||
fence whose info string `adf:<type>` names the node's type, its body the node's JSON without
|
fence whose info string `adf:<type>` names the node's type, its body the node's JSON without
|
||||||
`type`: text holding an unescaped `!adf:` and a code fence whose info string opens `adf:` are
|
`type`: text holding an unescaped `!adf:` and a code fence whose info string opens `adf:` are
|
||||||
claimed, and `adf` is an ordinary code block language. Convert stored markdown per `MIGRATION.md`.
|
claimed, and `adf` is an ordinary code block language. Convert stored markdown per `MIGRATION.md`.
|
||||||
- **Breaking:** `markdownToAdf` reads markdown holding no block as a document whose `content` is
|
- **Breaking:** `markdownToAdf` and `plainMarkdownToAdf` read markdown holding no block as a
|
||||||
empty, as Atlassian's schema requires; `!adf:doc {content=none}` spells a document holding no
|
document whose `content` is empty, as Atlassian's schema requires; `!adf:doc {content=none}` spells a document holding no
|
||||||
`content` key.
|
`content` key.
|
||||||
- `markdownToAdf(adfToMarkdown(doc))` deep-equals `doc`: two adjacent text nodes a reader would
|
- `markdownToAdf(adfToMarkdown(doc))` deep-equals `doc`: two adjacent text nodes a reader would
|
||||||
join are parted by `!adf:textBreak{}`, an empty `attrs`, `content` or `marks` is spelled
|
join are parted by `!adf:textBreak{}`, an empty `attrs`, `content` or `marks` is spelled
|
||||||
|
|||||||
Reference in New Issue
Block a user