Input
$$ formula $$ now text. Output AST
- type: Paragraph
children:
- type: MathInline
formula: " formula "
- type: Text
value: " now text." MathInline followed by text on the same line — closing $$ ends the formula, remaining text continues as Text
Input
$$ formula $$ now text. Output AST
- type: Paragraph
children:
- type: MathInline
formula: " formula "
- type: Text
value: " now text."