math-block-attrs

Attributes on the $$$ opening line are attached to the MathBlock node

§4.5

Input

$$$ {.display #eq1}
E = mc^2
$$$

Output AST

- type: MathBlock
  raw: E = mc^2
  attributes:
    - key: class
      value:
        - display
    - key: id
      value: eq1