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> | undefined): string

Parameters:

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

Returns: stringThe MathML markup string.