Name plainMarkdownToAdf in the empty-markdown changelog entry
CI / gate (push) Successful in 52s
CI / publish (push) Has been skipped

This commit is contained in:
2026-10-03 14:46:29 +02:00
parent d7ba8e6aae
commit b9760d0af2
+2 -2
View File
@@ -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