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)
9 lines (8 loc) • 696 B
TypeScript
import { RenderOptions } from "../../mathpix-markdown-model";
import { eMmdRuleType } from "./mmdRules";
export declare const getDisableRuleTypes: (renderOptions: RenderOptions) => eMmdRuleType[];
export declare const getListRulesToDisable: (md: any, renderOptions: RenderOptions) => string[];
export declare const applyRulesToDisableRules: (md: any, rules: string[], disableRules: string[]) => string[];
export declare const applyRefRulesToDisableRules: (md: any, disableRules: string[]) => string[];
export declare const applyFootnoteRulesToDisableRules: (md: any, disableRules: string[]) => string[];
export declare const getListToDisableByOptions: (md: MarkdownIt, options: any) => string[];