attrs-line-binds-to-paragraph

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

§4.1 · source

Input

Some text
{.note}

Output AST

- type: Paragraph
  children:
    - type: Text
      value: Some text
  attributes:
    - key: class
      value:
        - note