Spell the alt rule in the flavour both directions read
CI / gate (push) Successful in 5s

This commit is contained in:
2026-08-31 22:33:21 +02:00
parent 1c15c7dabe
commit 3349b81b5a
2 changed files with 12 additions and 6 deletions
+2 -1
View File
@@ -245,7 +245,8 @@ The moon, at night.
**The CommonMark image.** A paragraph whose entire inline content is one image `![alt](url)` is
a `mediaSingle` with attrs exactly `{"layout":"center"}` holding an `external` `media` — `url`
from the destination, `alt` the description's plain-text content when non-empty. `adfToMarkdown`
from the destination, `alt` the description's plain-text content when non-empty — a link or image
inside it contributing its own text, and a break of either kind a space. `adfToMarkdown`
emits the image form for exactly that shape — those attrs and no others, no marks on either
node, no caption, and a `media` carrying nothing beyond `alt`, `type` and `url` — and only where
CommonMark spells the pair: a destination or a description the image form cannot hold, an empty