---
source: crates/panache-parser/tests/golden_parser_cases.rs
expression: cst_output
---
DOCUMENT@0..206
  HEADING@0..26
    ATX_HEADING_MARKER@0..1
      ATX_HEADING_MARKER@0..1 "#"
    WHITESPACE@1..2 " "
    HEADING_CONTENT@2..25
      TEXT@2..25 "Display Math Formatting"
    NEWLINE@25..26 "\n"
  BLANK_LINE@26..27
    BLANK_LINE@26..27 "\n"
  PARAGRAPH@27..94
    TEXT@27..93 "Testing that display  ..."
    NEWLINE@93..94 "\n"
  BLANK_LINE@94..95
    BLANK_LINE@94..95 "\n"
  PARAGRAPH@95..151
    TEXT@95..116 "Inline display math: "
    DISPLAY_MATH@116..125
      DISPLAY_MATH_MARKER@116..118 "$$"
      MATH_CONTENT@118..123
        MATH_TEXT@118..119 "x"
        MATH_SPACE@119..120 " "
        MATH_OPERATOR@120..121 "="
        MATH_SPACE@121..122 " "
        MATH_TEXT@122..123 "y"
      DISPLAY_MATH_MARKER@123..125 "$$"
    TEXT@125..150 " gets formatted to bl ..."
    NEWLINE@150..151 "\n"
  BLANK_LINE@151..152
    BLANK_LINE@151..152 "\n"
  PARAGRAPH@152..175
    TEXT@152..174 "Properly closed block:"
    NEWLINE@174..175 "\n"
  BLANK_LINE@175..176
    BLANK_LINE@175..176 "\n"
  PARAGRAPH@176..188
    DISPLAY_MATH@176..187
      DISPLAY_MATH_MARKER@176..178 "$$"
      MATH_CONTENT@178..185
        MATH_NEWLINE@178..179 "\n"
        MATH_TEXT@179..180 "a"
        MATH_SPACE@180..181 " "
        MATH_OPERATOR@181..182 "="
        MATH_SPACE@182..183 " "
        MATH_TEXT@183..184 "b"
        MATH_NEWLINE@184..185 "\n"
      DISPLAY_MATH_MARKER@185..187 "$$"
    NEWLINE@187..188 "\n"
  BLANK_LINE@188..189
    BLANK_LINE@188..189 "\n"
  PARAGRAPH@189..206
    TEXT@189..205 "Works correctly."
    NEWLINE@205..206 "\n"
