---
source: crates/panache-parser/tests/golden_parser_cases.rs
expression: cst_output
---
DOCUMENT@0..292
  PARAGRAPH@0..31
    TEXT@0..30 "Some text before the  ..."
    NEWLINE@30..31 "\n"
  BLANK_LINE@31..32
    BLANK_LINE@31..32 "\n"
  PARAGRAPH@32..50
    DISPLAY_MATH@32..49
      DISPLAY_MATH_MARKER@32..34 "$$"
      MATH_CONTENT@34..47
        MATH_NEWLINE@34..35 "\n"
        MATH_SPACE@35..37 "  "
        MATH_TEXT@37..38 "x"
        MATH_SPACE@38..39 " "
        MATH_OPERATOR@39..40 "="
        MATH_SPACE@40..41 " "
        MATH_TEXT@41..42 "y"
        MATH_SPACE@42..43 " "
        MATH_OPERATOR@43..44 "+"
        MATH_SPACE@44..45 " "
        MATH_TEXT@45..46 "z"
        MATH_NEWLINE@46..47 "\n"
      DISPLAY_MATH_MARKER@47..49 "$$"
    NEWLINE@49..50 "\n"
  BLANK_LINE@50..51
    BLANK_LINE@50..51 "\n"
  PARAGRAPH@51..68
    TEXT@51..67 "Some text after."
    NEWLINE@67..68 "\n"
  BLANK_LINE@68..69
    BLANK_LINE@68..69 "\n"
  PARAGRAPH@69..149
    TEXT@69..97 "Here's inline display ..."
    DISPLAY_MATH@97..106
      DISPLAY_MATH_MARKER@97..99 "$$"
      MATH_CONTENT@99..104
        MATH_TEXT@99..100 "a"
        MATH_SPACE@100..101 " "
        MATH_OPERATOR@101..102 "="
        MATH_SPACE@102..103 " "
        MATH_TEXT@103..104 "b"
      DISPLAY_MATH_MARKER@104..106 "$$"
    TEXT@106..148 " that should be conve ..."
    NEWLINE@148..149 "\n"
  BLANK_LINE@149..150
    BLANK_LINE@149..150 "\n"
  PARAGRAPH@150..176
    TEXT@150..175 "Another standalone bl ..."
    NEWLINE@175..176 "\n"
  BLANK_LINE@176..177
    BLANK_LINE@176..177 "\n"
  PARAGRAPH@177..199
    DISPLAY_MATH@177..198
      DISPLAY_MATH_MARKER@177..179 "$$"
      MATH_CONTENT@179..196
        MATH_NEWLINE@179..180 "\n"
        MATH_COMMAND@180..185 "\\frac"
        MATH_GROUP@185..188
          MATH_GROUP_OPEN@185..186 "{"
          MATH_TEXT@186..187 "a"
          MATH_GROUP_CLOSE@187..188 "}"
        MATH_GROUP@188..191
          MATH_GROUP_OPEN@188..189 "{"
          MATH_TEXT@189..190 "b"
          MATH_GROUP_CLOSE@190..191 "}"
        MATH_SPACE@191..192 " "
        MATH_OPERATOR@192..193 "="
        MATH_SPACE@193..194 " "
        MATH_TEXT@194..195 "c"
        MATH_NEWLINE@195..196 "\n"
      DISPLAY_MATH_MARKER@196..198 "$$"
    NEWLINE@198..199 "\n"
  BLANK_LINE@199..200
    BLANK_LINE@199..200 "\n"
  PARAGRAPH@200..217
    TEXT@200..216 "End of document."
    NEWLINE@216..217 "\n"
  BLANK_LINE@217..218
    BLANK_LINE@217..218 "\n"
  PARAGRAPH@218..236
    TEXT@218..235 "This is not math:"
    NEWLINE@235..236 "\n"
  BLANK_LINE@236..237
    BLANK_LINE@236..237 "\n"
  PARAGRAPH@237..256
    TEXT@237..238 "$"
    TEXT@238..239 "$"
    NEWLINE@239..240 "\n"
    LATEX_COMMAND@240..251
      TEXT@240..251 "\\frac{a}{b}"
    TEXT@251..255 " = c"
    NEWLINE@255..256 "\n"
  BLANK_LINE@256..257
    BLANK_LINE@256..257 "\n"
  PARAGRAPH@257..292
    TEXT@257..291 "Because it is not clo ..."
    NEWLINE@291..292 "\n"
