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)

7 lines (6 loc) 537 B
/** * Replacing the default rules to ignore insertion of line breaks after hidden tokens. * Hidden tokens do not participate in rendering * */ export declare const softBreak: (tokens: any, idx: any, options: any) => "" | "\n" | " " | "<br /><span class=\"br-break\"></span>\n" | "<br><span class=\"br-break\"></span>\n" | "<br />\n" | "<br>\n"; export declare const hardBreak: (tokens: any, idx: any, options: any) => "" | "<br /><span class=\"br-break\"></span>\n" | "<br><span class=\"br-break\"></span>\n" | "<br />\n" | "<br>\n";