mark-attrs

Mark carries attributes trailing after the closer

§5.10

Input

Hello ::marker world::{#here .highlight} end

Output AST

- type: Paragraph
  children:
    - type: Text
      value: "Hello "
    - type: Mark
      name: marker
      children:
        - type: Text
          value: world
      attributes:
        - key: id
          value: here
        - key: class
          value:
            - highlight
    - type: Text
      value: " end"