Skip to content

MathJaxEx.tex2mml method

MathJaxEx › tex2mml

Unofficial

Convert a TeX string to MathML markup synchronously.

Signature:

tex2mml(math: string, options?: Record<string, unknown>): string

Parameters:

ParameterTypeDescription
mathstringTeX string to convert.
options?Record<string, unknown>Optional rendering options.

Returns: string — The MathML markup string.