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)
14 lines (13 loc) • 372 B
TypeScript
declare class pegSyntaxError extends Error {
expected: any;
found: any;
location: any;
name: string;
constructor(message: any, expected: any, found?: any, location?: any);
}
declare function peg$parse(input: any, options: any): any;
declare const Parser: {
SyntaxError: typeof pegSyntaxError;
parse: typeof peg$parse;
};
export default Parser;