Parse markdown correctly when mathjax is disabled