Skip to content

MathJaxEx.tex2mmlPromise method

MathJaxEx › tex2mmlPromise

Unofficial

Convert a TeX string to MathML markup asynchronously.

Signature:

tex2mmlPromise(math: string, options?: Record<string, unknown> | undefined): Promise<string>

Parameters:

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

Returns: Promise<string>The MathML markup string.