quote-block-attrs-own-line

A {attrs}-only first line produces orphan attribute; {attrs} at end on line, at the end of QuoteBlock produces QuoteBlock attribute property.

§4.6 · source

Input

> {.callout}
> content 1

> content 2
> {.callout}

> content 3
>
{.callout}

Output AST

- type: QuoteBlock
  children:
    - type: Paragraph
      children:
        - type: Text
          value: "{.callout}content 1"
- type: QuoteBlock
  children:
    - type: Paragraph
      children:
        - type: Text
          value: content 2
  attributes:
    - key: class
      value:
        - callout
- type: QuoteBlock
  children:
    - type: Paragraph
      children:
        - type: Text
          value: content 3
  attributes:
    - key: class
      value:
        - callout