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)
10 lines (9 loc) • 338 B
TypeScript
type TSubMath = {
id: string;
content: string;
};
export declare const ClearSubMathLists: () => void;
export declare const mathTablePush: (item: TSubMath) => void;
export declare const getMathTableContent: (sub: string, i: number) => string;
export declare const getSubMath: (str: string, startPos?: number) => string;
export {};