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)
20 lines (19 loc) • 573 B
TypeScript
export declare const mappingTheorems: {
newtheorem: string;
theoremstyle: string;
theorem_open: string;
theorem_close: string;
proof_open: string;
proof_close: string;
proof_print: string;
qedsymbol: string;
qedsymbol_open: string;
qedsymbol_close: string;
renewcommand_qedsymbol: string;
theorem_description_open: string;
theorem_description_close: string;
theorem_print_open: string;
theorem_print_close: string;
theorem_setcounter: string;
};
export declare const renderTheorems: (md: MarkdownIt) => void;