First, let's get MathJax online. Looking through the docs, it looks like what I need to match the StackEdit/GitHub configuration is the following (at the end of the <head> block):

<script type="text/x-mathjax-config">

MathJax.Hub.Config({

tex2jax: {

inlineMath: [ ['$','$'] ],

displayMath: [ [ '$$', '$$'] ],

processEscapes: true

nbsp; }});

</script>

<script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" type="text/javascript">

Below should be a displayed equation

$$ E^2 = m^2 + p^2 $$

the same could be inlined like so: $E^2 = m^2 + p^2 $

Am of course planning on moving it all to a static system like all the cool kids, but not right now...

## No comments:

Post a Comment