process escapes in mathjax

allows `\$` to enter dollar signs in markdown.