Corpus 1d2: the block-node pairs #7

Merged
lilleman merged 5 commits from corpus-block-nodes into main 2026-08-24 14:07:00 +02:00
Showing only changes of commit 48c178a333 - Show all commits
+3 -3
View File
@@ -39,9 +39,9 @@ normalizes to it through the round-trip.
- Paragraphs on one line — no soft wrapping; a soft line break in input becomes a single space. - Paragraphs on one line — no soft wrapping; a soft line break in input becomes a single space.
- Entity references in input decode to their characters; output backslash-escapes only where text - Entity references in input decode to their characters; output backslash-escapes only where text
would otherwise parse as syntax, scanning the assembled line rather than each text node: escape would otherwise parse as syntax, scanning the assembled line rather than each text node: escape
the leading delimiter of a construct that would otherwise open, re-scan from there, and repeat — the leading delimiter of a construct that would otherwise open, re-scan from there, and
with the opener literal the closer parses as text, so `*not emphasis*` is `\*not emphasis*`, one repeat — with the opener literal the closer parses as text, so `*not emphasis*` is
backslash. `\*not emphasis*`, one backslash.
- Blocks separated by one blank line at document level and between CommonMark blocks; two - Blocks separated by one blank line at document level and between CommonMark blocks; two
directive blocks inside a container take none. No trailing whitespace outside a code block's directive blocks inside a container take none. No trailing whitespace outside a code block's
content, single trailing newline; a document with no blocks is the empty string. content, single trailing newline; a document with no blocks is the empty string.