mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-19 14:45:44 +01:00
Answer prose round 1: 0 🔴, 1 🟡; reword the title comment and the changelog entry
This commit is contained in:
+4
-3
@@ -14,9 +14,10 @@
|
|||||||
holding another mark as `!adf:carry{json="…"}`, and `adfToPortableMarkdown` drops that mark.
|
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
|
- `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.
|
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
|
- `adfToPortableMarkdown` keeps a link title holding a backslash or an entity reference such as
|
||||||
table cell one holding a `|`, escaping each: `[docs](https://example.com "C:\\dir")`, where it
|
`&`, and in a table cell one holding a `|`, where it dropped the title. It escapes the
|
||||||
dropped the title. `portableMarkdownToAdf` reads it back to the same title.
|
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
|
- `losslessMarkdownToAdf` names the CommonMark spelling to write when it refuses a directive whose
|
||||||
node CommonMark spells, such as `[](href)` for a linked `!adf:mediaSingle`.
|
node CommonMark spells, such as `[](href)` for a linked `!adf:mediaSingle`.
|
||||||
- Every reader and writer takes time linear in the text when it holds many `<!--`, `<?`,
|
- Every reader and writer takes time linear in the text when it holds many `<!--`, `<?`,
|
||||||
|
|||||||
Reference in New Issue
Block a user