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?
MathJax is an open-source JavaScript display engine for LaTeX, MathML, and AsciiMath notation that works in all modern browsers.
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>
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/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With