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)

5 lines (4 loc) 375 B
/** Resets module-level cross-parse state: TOC slugs, labels, theorem/list/footnote counters, MathJax numbering. * Does NOT clear state.env.__mathpix (released with env) or tabular caches (cleanup_tabular_state hook handles those). * Auto-invoked via reset_mmd_global_state hook; exported for one-shot converters. */ export declare const resetMmdGlobalState: () => void;