What is MathJax?
MathJax is an open source JavaScript display engine for mathematics that works in all browsers.
By importing MathJax to Octopress(Jekeyll), you can write formulars in Latex style. That’s cool!
How to import?
- Copy this ruby plugin into
plugin
folder. - Add
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"> </script>
insource/_includes/custom/head.html
. - Write your formulars between tags
math
,m
orendmath
,em
.
For example,
will become
Enjoy it!