Skip to main content

Function: katexCanRender()

katexCanRender(texString, displayMode): boolean

Defined in: mobjects/text/MathJaxRenderer.ts:382

Quick check: can KaTeX render this LaTeX string without throwing? Used by the 'auto' renderer mode to decide whether to fall back to MathJax.

Parameters

texString

string

displayMode

boolean = true

Returns

boolean