mathjax rendering for previewing explanations