spoiler-block-attrs

Attributes on the opening ^^^ line are attached to the SpoilerBlock node

§4.15 · source

Input

^^^ {.nsfw #note1}
Content
^^^

Output AST

- type: SpoilerBlock
  attributes:
    - key: class
      value:
        - nsfw
    - key: id
      value: note1
  children:
    - type: Paragraph
      children:
        - type: Text
          value: Content