Input
Some text
{.note} Output AST
- type: Paragraph
children:
- type: Text
value: Some text
attributes:
- key: class
value:
- note An attribute-continuation line is not a block opener, so the no-block-opens-inside-a-paragraph rule does not apply: the {attrs} line binds to the paragraph instead of being swallowed as text
Input
Some text
{.note} Output AST
- type: Paragraph
children:
- type: Text
value: Some text
attributes:
- key: class
value:
- note