xiaoheiAh/hugo-theme-pure

MathJax config needs to be added.

udit-001 opened this issue · 1 comments

So there are some basic settings that need to be configured for MathJax to run on production, I took a look at the hugo docs, the major setting that needs to be added is the support for mmark files :

<script type="text/x-mathjax-config">
      MathJax.Hub.Config({
              showMathMenu: false, //disables context menu
              tex2jax: {
              inlineMath: [ ['$','$'], ['\\(','\\)'] ]
             }
      });
</script>

I'll fix it.