Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
231 views
in Technique[技术] by (71.8m points)

How do you incorporated MathJax into a GitHub Pages site?

How do you incorporate MathJax into a GitHub Pages Site?

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.

I have looked into this problem...

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?

Edit

I have this in my _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;

    math_engine: mathjax

And in my post I wrote:

   usemath: true

Thanks.

question from:https://stackoverflow.com/questions/65852651/how-do-you-incorporated-mathjax-into-a-github-pages-site

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...