diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-03-18 12:36:39 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-03-18 12:36:39 +0900 |
commit | 0154f00b08057faaa452105987cc6ef336058a92 (patch) | |
tree | cb4749106763b382956adde5c6602db7b2cb550a /_layout/foot.html | |
parent | f4d3d4f01b539a3824ee000a275a3bcf3a5643c6 (diff) | |
download | site-0154f00b08057faaa452105987cc6ef336058a92.tar.gz |
Switch to MathML for web pages
Diffstat (limited to '_layout/foot.html')
-rw-r--r-- | _layout/foot.html | 2 |
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> |