Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using MathJax on a Github Page?

basic question here. I'm trying to figure out a simple and effective way of writing LaTeX-style formulas on a Github web page.

The top answer here suggests that MathJax is a possible solution.

This thread seems to imply MathJax isn't supported.

Personally, I've followed the directions Herem but the math equations aren't appearing.

Thoughts?

like image 665
Alex Zorn Avatar asked Dec 18 '15 02:12

Alex Zorn


People also ask

Is MathJax open source?

MathJax is an open-source JavaScript display engine for LaTeX, MathML, and AsciiMath notation that works in all modern browsers.

Does Jekyll support LaTeX?

Instructions from LaTeX in Jekyll worked fine for me. Add the following line to _layouts/post. html : <script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>


1 Answers

you can use Mathjax on Github Page by adding next code in tag in your html code.

<script type="text/javascript" charset="utf-8" 
src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML,
https://vincenttam.github.io/javascripts/MathJaxLocal.js"></script>

I refered this page. https://vincenttam.github.io/blog/2014/11/09/mathjax-local-configuration-file/

like image 158
Takeshi Ikeda Avatar answered Oct 13 '22 09:10

Takeshi Ikeda