Add inline equation support and $ escaping

Also now manually configure MathJax as '?config=TeX-AMS_HTML' was
enabling the tex preprocessor.
Add ability to toggle LaTex rendering in preview