renderMath - Methods - Questions API

Questions API Methods

renderMath()

Renders all Latex or MathML elements on the page with MathJax.

If the "mathquill" renderer is used, only Latex inside an .lrn parent will be rendered.

Arguments

  • renderer string

    Default: "mathjax"

Return value

Type a Promise which is resolved when all the Latex or MathML elements on the page have been rendered.

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.