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 🔴, 7 🟡 (0 misread); the decision, spec, changelog and items 34, 91, 153 and 155 are rewritten, and readBack's, parseInlineContent's, readLineBack's, guardLinkDefinition's and InlineReading's comments say what the code cannot

This commit is contained in:
2026-10-28 17:36:28 +01:00
committed by Lillem4n
parent ded38b95be
commit 2b6d5f2def
4 changed files with 21 additions and 22 deletions
+3 -2
View File
@@ -57,8 +57,9 @@ normalizes to it through the round-trip.
A backtick run escapes whole. The escaped line is then read back. Where it opens a code span at a
text backtick, every text backtick in the line escapes: CommonMark reads no escape inside a code
span, so a backtick string beside an escape can still close one. Where it opens a link or an
image at a text `[`, every text `[` in the line escapes. A line the reader refuses without
showing what opened at text escapes every text backtick and `[`.
image at a text `[`, every text `[` in the line escapes. Where the reader refuses the line and
records no code span, link or image opening at a text backtick or `[`, every text backtick and
`[` in the line escapes.
Where a paragraph opens with what reads as a link reference definition, which resolves before
any inline construct binds (a `]` inside a code span or `{attrs}` counts), an opening text `[`
escapes and an opening link takes the directive link (Marks).