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

Answer prose round 1: 0 🔴, 1 🟡; reword the title comment and the changelog entry

This commit is contained in:
2026-10-22 21:59:11 +02:00
committed by Lillem4n
parent 5de03a7b41
commit 59c77a9675
+4 -3
View File
@@ -14,9 +14,10 @@
holding another mark as `!adf:carry{json="…"}`, and `adfToPortableMarkdown` drops that mark.
- `adfToPortableMarkdown` keeps both targets of a linked external image standing inline, as in a
table cell: `[alt](href) ([image](url))`, where it wrote `[alt](url)` and dropped the link's target.
- `adfToPortableMarkdown` keeps a link's title holding a backslash or an entity reference, and in a
table cell one holding a `|`, escaping each: `[docs](https://example.com "C:\\dir")`, where it
dropped the title. `portableMarkdownToAdf` reads it back to the same title.
- `adfToPortableMarkdown` keeps a link title holding a backslash or an entity reference such as
`&`, and in a table cell one holding a `|`, where it dropped the title. It escapes the
character, as in `[docs](https://example.com "AT\&T")`, and `portableMarkdownToAdf` reads the
title back.
- `losslessMarkdownToAdf` names the CommonMark spelling to write when it refuses a directive whose
node CommonMark spells, such as `[![alt](url)](href)` for a linked `!adf:mediaSingle`.
- Every reader and writer takes time linear in the text when it holds many `<!--`, `<?`,