Markdown and Mathjax fixes