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)
12 lines (11 loc) • 579 B
TypeScript
import { RuleBlock, RuleInline } from 'markdown-it';
export declare let sectionCount: number;
export declare let subCount: number;
export declare let subSubCount: number;
export declare const resetCounter: RuleInline;
export declare const resetTextCounter: RuleInline;
export declare const setTextCounterSection: (envName: string, num: number) => void;
export declare const headingSection: RuleBlock;
export declare const renderInlineContent: (token: any, options: any, env: any, slf: any) => any;
declare const _default: () => (md: MarkdownIt) => void;
export default _default;