3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-12 19:58:28 +01:00

Reflow the claimed-shapes bullet

This commit is contained in:
2026-10-09 03:13:27 +02:00
committed by Lillem4n
parent ce5a3b124e
commit 847c358358
+5 -5
View File
@@ -234,11 +234,11 @@ Serves Goals 1, 4 and 5.
and one gap every reader shares: a CommonMark image fits only as its own title-less paragraph.
Mid-text and titled images are error results, save an image inside another's description, which
flattens into the alt text.
- The other readers claim shapes CommonMark reads as text or code. `losslessMarkdownToAdf` claims four:
literal text matching directive, pipe-table or strikethrough syntax, and a code fence whose info
string opens `adf:`. `portableMarkdownToAdf` claims what [Portable markdown](#portable-markdown)
lists. A claimed shape that does not complete, such as a pipe row without a delimiter row, is an
error result; each can be kept literal (`spec/flavour.md`).
- The other readers claim shapes CommonMark reads as text or code. `losslessMarkdownToAdf` claims
four: literal text matching directive, pipe-table or strikethrough syntax, and a code fence whose
info string opens `adf:`. `portableMarkdownToAdf` claims what [Portable
markdown](#portable-markdown) lists. A claimed shape that does not complete, such as a pipe row
without a delimiter row, is an error result; each can be kept literal (`spec/flavour.md`).
- A document any reader built, written back with `adfToLosslessMarkdown`, takes the library's
canonical spelling, which round-trips byte-identically.
- Four CommonMark spellings parse without an error and build a document the reference