MathJaxEx.tex2chtml method
MathJaxEx › tex2chtml
Unofficial
Convert a TeX string to a CHTML (HTML) element synchronously.Signature:
tex2chtml(math: string, options?: Record<string, unknown> | undefined): HTMLElementParameters:
| Parameter | Type | Description |
|---|---|---|
| math | string | TeX string to convert. |
| options? | Record<string, unknown> | undefined | Optional rendering options. |
Returns: HTMLElement — The rendered HTML element.