3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-19 22:55:44 +01:00

Give the leaf block an arg slot, and drop the branch the leaf collapse orphaned

This commit is contained in:
2026-08-27 15:41:38 +02:00
parent 8fe8760c78
commit a36e3e1a37
4 changed files with 9 additions and 2 deletions
+2 -1
View File
@@ -86,7 +86,8 @@ fence or opaque carry is content. Canonical form uses minimal lengths.
Directive fence lines follow code-fence indentation (up to three spaces relative to their
container); trailing whitespace on a fence line is tolerated in input, never emitted.
**Leaf block**: `::name {attrs}` — a block-position node with no body.
**Leaf block**: `::name arg {attrs}` — a block-position node with no body, `arg` reading as
above.
**Claiming at block level**, symmetric with inline: a line whose leading run of two or more
colons is followed immediately by a name character is claimed and must parse fully as a container