make mathjax and markdown play together nicely