math-inline-text-after

MathInline followed by text on the same line — closing $$ ends the formula, remaining text continues as Text

§5.7 · source

Input

$$ formula $$ now text.

Output AST

- type: Paragraph
  children:
    - type: MathInline
      formula: " formula "
    - type: Text
      value: " now text."