add mathjax to the main site

This commit is contained in:
Tom Hodson 2022-11-25 15:58:33 +01:00
parent a0b8492950
commit e2cb2a0aa2

View File

@ -8,6 +8,18 @@
<meta name="description" content="Tom Hodson's personal site.">
<link rel="stylesheet" href="/assets/css/styles.css">
<script src="/assets/js/index.js"></script>
<script>
MathJax = {
tex: {
inlineMath: [['$', '$'], ['\\(', '\\)']]
},
svg: {
fontCache: 'global'
}
};
</script>
<script src="/assets/mathjax/tex-mml-svg.js" id="MathJax-script" async></script>
<!-- RSS feed -->
{% feed_meta %}