Use toHTML, toMathML, toLaTeX when available