diff --git a/extensions/mathjax/renderer.go b/extensions/mathjax/renderer.go index 71d103eb..5d355bd2 100644 --- a/extensions/mathjax/renderer.go +++ b/extensions/mathjax/renderer.go @@ -17,6 +17,7 @@ const script = `` func init() { RegisterStaticDir(js) + RegisterBuildPage("/js/mathjax.js", false) MarkDownRenderer.Renderer().AddOptions(renderer.WithNodeRenderers( util.Prioritized(&InlineMathRenderer{startDelim: `\(`, endDelim: `\)`}, 0), util.Prioritized(&MathBlockRenderer{startDelim: `\[`, endDelim: `\]`}, 0),