Brett on 10 Sep, 2018 04:58 PM
I'm afraid I'm not all that familiar with LaTeX. I imagine that the
issue you're running into is in MultiMarkdown, which automatically
interprets ^2 as superscript and probably breaks your markup. You could
use MultiMarkdown's delimiters instead of $, e.g. \\( and \\), but I
can't guarantee a fix on that. Based on all of the examples provided by
Fletcher, curly brackets are used on all equations containing squares.