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)

8 lines (7 loc) 511 B
export declare const PREVIEW_PARAGRAPH_PREFIX = "preview-paragraph-"; export declare const PREVIEW_LINE_CLASS = "preview-line"; export declare function code_block_injectLineNumbers(tokens: any, idx: any, options: any, env: any, slf: any): string; /** overwrite paragraph_open and close rule to inject line number */ export declare function withLineNumbers(renderer: any): any; export declare function injectLabelIdToParagraph(renderer: any): any; export declare const injectRenderRules: (renderer: any) => any;