How to use Markdown with MathJax like Math StackExchange How to use Markdown with MathJax like Math StackExchange javascript javascript

How to use Markdown with MathJax like Math StackExchange


The fastest way is to protect the math from your markdown-parser.

See this question for a detailed answer by Davide Cervone, including a link to the code used by math.SE.


For sublime, add the following code to Markdown Preview --> Settings - User,

{    /*        Enable or not mathjax support.    */    "enable_mathjax": true}

as shown below,

enter image description here

Refer to How to enable MathJax rendering in Sublimetext Markdown Preview.