Debian Codegraph @

jupyter-widgets-base-manager/lib/latex.d.ts

raw
1 /**
2 * Break up the text into its component parts and search
3 * through them for math delimiters, braces, linebreaks, etc.
4 * Math delimiters must match and braces must balance.
5 * Don't allow math to pass through a double linebreak
6 * (which will be a paragraph).
7 */
8 export declare function removeMath(text: string): {
9 text: string;
10 math: string[];
11 };
12 /**
13 * Put back the math strings that were saved,
14 * and clear the math array (no need to keep it around).
15 */
16 export declare function replaceMath(text: string, math: string[]): string;
17 //# sourceMappingURL=latex.d.ts.map