UNPKG

mathpix-markdown-it

Version:

Mathpix-markdown-it is an open source implementation of the mathpix-markdown spec written in Typescript. It relies on the following open source libraries: MathJax v3 (to render math with SVGs), markdown-it (for standard Markdown parsing)

6 lines (5 loc) 250 B
/** * Converts a math token into HTML and attaches MathJax metadata to the token. * Also extracts equation labels and stores them in the shared labels list. */ export declare const convertMathToHtml: (state: any, token: any, options: any) => any;