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:

Parameter Type Description
math string TeX string to convert.
options? Record<string, unknown> | undefined Optional rendering options.

Returns: stringThe MathML markup string.