mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-19 06:35:44 +01:00
Answer principles round 1: 0 🔴, 4 🟡; escape a title's backslash only where CommonMark reads an escape, check pipes in lossless syntax alone, split the title tests, state the portable escapes
This commit is contained in:
@@ -417,6 +417,9 @@ saving what this pair read replaces mentions, attachments and macros with text.
|
||||
- Text that would read as a marker takes a backslash: `==` wherever it could open or close a
|
||||
highlight, `[!…]` opening a quote, asterisks that would read as a rule after a `* ` marker
|
||||
(`* \**`), and `[x]` or `[ ]` opening any list item, since GitHub reads that marker per item.
|
||||
- A link title takes a backslash before a quote, before a backslash that ends the title or that
|
||||
CommonMark would read as an escape, before an `&` opening an entity reference such as `&`, and
|
||||
in a table cell before a `|`: `[docs](https://example.com "AT\&T")`.
|
||||
- A node read back carries no `localId` except a `taskList`, `taskItem` or `blockTaskItem`, which
|
||||
Atlassian's schema requires one on: each gets a UUID v4 hashed from the whole markdown and its
|
||||
position, the same on every read. Join markdown bound for one document and read it once: the same
|
||||
|
||||
Reference in New Issue
Block a user