renderMath() function
Render some LaTeX math using the MathJax engine. Returns an HTMLElement. Requires calling finishRenderMath when rendering is all done to flush the MathJax stylesheet.
Signature:
export function renderMath(source: string, display: boolean): HTMLElement;Parameters
| Parameter | Type | Description |
|---|---|---|
source | string | |
display | boolean |
Returns:
HTMLElement