pub fn maths_html(tex: &str, display: bool) -> String
MSC2191 markup for tex: a div (display) or span (inline) with data-mx-maths and the source in <code> for clients without it.
tex
div
span
data-mx-maths
<code>