54ab282efc
Build and Deploy Verso / deploy (push) Successful in 14m1s
mathContentTokenizer was stopping at newlines, causing a parse error for Typst block math that spans multiple lines. The parser then entered a bad state that cascaded: the stale error-recovery left the item* parser in a degraded mode, causing body text below the math block to be highlighted as t.string (orange). Fix: switch to contextual: true (only fires inside InlineMath where MathContent is actually expected) and remove the newline restriction so the tokenizer reads until the closing '$' regardless of line boundaries. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>