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) • 554 B
TypeScript
export type TParseError = Array<string>;
export type TParseErrorList = Array<TParseError>;
export declare var ParseErrorList: TParseErrorList;
export declare var ParseError: TParseError;
export declare const pushError: (messages: string) => void;
export declare const pushParseErrorList: (messages: TParseError, ln: number) => void;
export declare const ClearParseError: () => void;
export declare const ClearParseErrorList: () => void;
export declare const CheckParseError: (state: any, startLine: number, nextLine: number, content: string) => boolean;