vector-victor/docs/mathjax.html
Andrew Cassidy e943345693 Add Mathjax to rustdoc output
when generating local documentation, this requires `RUSTDOCFLAGS=--html-in-header docs/mathjax.html` for math to be rendered.
2023-05-09 00:07:33 -07:00

11 lines
286 B
HTML

<script type="text/x-mathjax-config">
MathJax.Hub.Config({
asciimath2jax: {
delimiters: [['$','$']]
}
});
</script>
<script type="text/javascript" async
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML">
</script>