Files
OpenMAIC/packages
wyuc 99e87f4e42 fix(generation): inject KaTeX into interactive scenes that reference it (#1966)
Inject the platform's KaTeX at the start of <head>, ahead of page scripts, guarded by a data-openmaic-katex marker instead of the word "katex", with no-op stand-ins when the CDN is unreachable, so pages that ship their own KaTeX no longer crash with a ReferenceError and init()-filled labels typeset on first paint. Adds an interactive-math prompt snippet and bumps @openmaic/generation to 0.3.23.

Fixes #1538
2026-10-21 10:44:31 +08:00
..