mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-06 00:00:23 +08:00
injectKaTeX inserted its init script with a string replacement, where "$$" means "$". The display delimiter became "$", so `$$...$$` stayed raw and every `$...$` rendered as display math. Replacer functions keep the script as written. Widgets often write math after load (step-by-step reveals, slider readouts), which auto-render never saw. A throttled MutationObserver now renders it, skipping math already rendered. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>