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)

7 lines (6 loc) 504 B
export declare const formatSourceHtml: (text: string, notTrim?: boolean) => string; export declare const formatSourceHtmlWord: (text: string, notTrim?: boolean) => string; export declare const formatSource: (text: string, notTrim?: boolean) => string; export declare const formatSourceMML: (text: string) => string; export declare const parseMmdElement: (math_el: any, res?: any[]) => any[]; export declare const parseMarkdownByElement: (el: HTMLElement | Document, include_sub_math?: boolean) => any[];