feat: add mathjax equation support
parent
0b9a9f0bdc
commit
89f5951f2d
|
@ -50,6 +50,9 @@ def baseHtmlArray (title : String) (site : Array Html) : HtmlM Html := do
|
||||||
-- TODO Add more js stuff
|
-- TODO Add more js stuff
|
||||||
<script src={s!"{←getRoot}nav.js"}></script>
|
<script src={s!"{←getRoot}nav.js"}></script>
|
||||||
<script src={s!"{←getRoot}search.js"}></script>
|
<script src={s!"{←getRoot}search.js"}></script>
|
||||||
|
-- mathjax
|
||||||
|
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue