Input
:::note {.warn}
content
::: Output AST
- type: NamedBlock
name: note
attributes:
- key: class
value:
- warn
children:
- type: Paragraph
children:
- type: Text
value: content Whitespace between a NamedBlock name and its consumed {attr} on the opener line is stripped — no trailing-space leak into the name token
Input
:::note {.warn}
content
::: Output AST
- type: NamedBlock
name: note
attributes:
- key: class
value:
- warn
children:
- type: Paragraph
children:
- type: Text
value: content