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)
35 lines (34 loc) • 759 B
TypeScript
declare const MathJaxConfig: {
TeX: {
packages: string[];
tagSide: string;
tagIndent: string;
multlineWidth: string;
useLabelIds: boolean;
tags: string;
inlineMath: string[][];
displayMath: string[][];
processEscapes: boolean;
processEnvironments: boolean;
processRefs: boolean;
maxMacros: number;
maxBuffer: number;
};
asciimath: {
delimiters: string[][];
};
MathML: {
parseAs: string;
forceReparse: boolean;
};
HTML: {
scale: number;
mathmlSpacing: boolean;
exFactor: number;
};
SVG: {
fontCache: string;
};
CHTML: any;
};
export default MathJaxConfig;