You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bump fileCacheEntryVersion in transform.ToMathΒ #15267
When upgrading to Hugo v0.166.0, sites using transform.ToMath with the output option set to html or htmlAndMathml must update the KaTeX stylesheet referenced in their template(s) to version 0.18.4 or higher. Using older CSS versions like 0.16.21 will cause certain mathematical or chemical expressions to render incorrectly.
Activity
jmooring commentedon Sep 1, 2026
For the release notes...
When upgrading to Hugo v0.166.0, sites using
transform.ToMathwith theoutputoption set tohtmlorhtmlAndMathmlmust update the KaTeX stylesheet referenced in their template(s) to version 0.18.4 or higher. Using older CSS versions like 0.16.21 will cause certain mathematical or chemical expressions to render incorrectly.Example update:
See these examples:
jmooring commentedon Sep 1, 2026
And note to future self about documentation:
Do not ever update the KaTeX CSS version references in
transform.ToMathexamples unless we change the underlying engine.EDIT: Added a section to the documentation contribution guide describing this requirement.
tpl/transform: Bump fileCacheEntryVersion in transform.ToMath (note)
github-actions commentedon Sep 23, 2026
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.