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)
8 lines (7 loc) • 406 B
TypeScript
export declare const HTML_OPEN_TAG_RE: RegExp;
export declare const HTML_CLOSE_TAG_RE: RegExp;
export declare const HTML_OPEN_TAG: RegExp;
export type type_HTML_SEQUENCES = [RegExp, RegExp | string, boolean];
export declare const HTML_SEQUENCES: type_HTML_SEQUENCES[];
export declare const selfClosingTags: string[];
export declare const extractFullHtmlTagContent: (html: string, tag: string) => string[];