People have asked this question here multiple times but they’re old. So I’m trying to figure out how to incorporate MathJax 3 into a GitHub Pages site.
After going over this guide
https://docs.github.com/en/github/working-with-github-pages/creating-a-github-pages-site-with-jekyll
how do I then incorporate Mathjax 3 into my site?
I have this in my _includes/head.html:
_includes/head.html
<script type="text/javascript" id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"> </script>
And in my _config.yml I have;
_config.yml
math_engine: mathjax
And in my post I wrote:
usemath: true
Thanks.
2.1m questions
2.1m answers
60 comments
57.0k users