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>