Input
::a ::a ::a :::::: Output AST
- type: Paragraph
children:
- type: Mark
name: a
children:
- type: Mark
name: a
children:
- type: Mark
name: a
children: [] Mark permits same-type nesting, including the same name — the opener ::name is distinct from the bare :: closer, so matching is by counting
Input
::a ::a ::a :::::: Output AST
- type: Paragraph
children:
- type: Mark
name: a
children:
- type: Mark
name: a
children:
- type: Mark
name: a
children: []