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)
5 lines (4 loc) • 376 B
TypeScript
/** Perform math to conversion to html and get additional data from MathJax to pass it to render rules */
export declare const convertMathToHtmlWithHighlight: (state: any, token: any, options: any) => any;
export declare const addedHighlightMathjaxFunctions: (token: any, mathContent: any) => string;
export declare const highlightMathToken: (state: any, token: any) => void;