about summary refs log tree commit diff homepage
path: root/_layout/foot.html
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2023-03-18 12:36:39 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2023-03-18 12:36:39 +0900
commit0154f00b08057faaa452105987cc6ef336058a92 (patch)
treecb4749106763b382956adde5c6602db7b2cb550a /_layout/foot.html
parentf4d3d4f01b539a3824ee000a275a3bcf3a5643c6 (diff)
downloadsite-0154f00b08057faaa452105987cc6ef336058a92.tar.gz
Switch to MathML for web pages
Diffstat (limited to '_layout/foot.html')
-rw-r--r--_layout/foot.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_layout/foot.html b/_layout/foot.html
index 43530ed..8edabc4 100644
--- a/_layout/foot.html
+++ b/_layout/foot.html
@@ -1,6 +1,6 @@
 {{if hasmath}}<script src=/libs/katex/katex.min.js></script>
 <script src=/libs/katex/auto-render.min.js></script>
-<script>renderMathInElement(document.body)</script>{{end}}
+<script>renderMathInElement(document.body, {output: 'mathml'})</script>{{end}}
 {{if hascode}}<script src=/libs/highlight/highlight.pack.js></script>
 <script>hljs.initHighlightingOnLoad()</script>{{end}}
 </body>