UNPKG

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)

25 lines (24 loc) 525 B
export declare enum eMmdRuleType { markdown = "markdown", latex = "latex", chem = "chem", html = "html", common = "common", asciiMath = "asciiMath", math = "math", mathML = "mathML", simpleMath = "simpleMath" } export declare enum eRule { block = "block", inline = "inline", inline2 = "inline2", core = "core" } export interface IMmdRule { name: string; type: eMmdRuleType; rule: eRule; description?: string; } export declare const mmdRuleList: IMmdRule[];