mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-20 15:15:44 +01:00
Group a line's runs in one home, part a line as its first fallback, and trim each portable line by its own runs
This commit is contained in:
+3
-2
@@ -39,8 +39,9 @@
|
||||
span: ``**Run `npm ci` first**``. `adfToLosslessMarkdown` also writes those three once across
|
||||
mentions, emoji, dates, statuses, inline cards and inline media, as
|
||||
`**Ping !adf:mention[@A]{id=x} now**`, and a link once across mentions, emoji, dates, statuses
|
||||
and inline cards. The markdown reads back to the same ADF as before. Where the joined line would
|
||||
not, the writers write the line as before.
|
||||
and inline cards. The markdown reads back to the same ADF as before, except that
|
||||
`adfToPortableMarkdown` drops whitespace beside a hard break a mark crosses, where CommonMark
|
||||
strips it. Where the joined line would not read back, the writers write the line as before.
|
||||
- Every reader keeps the URL and title of an image inside a link's text, where it dropped them:
|
||||
after the link comes `(image)`, which links to the image, so
|
||||
`[look at  tonight](/moon)` reads as
|
||||
|
||||
Reference in New Issue
Block a user