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) • 517 B
TypeScript
export declare const sortHighlights: (a: any, b: any) => 1 | -1;
export declare const mergingHighlights: (highlights: any) => any;
export declare const findPositionsInHighlights: (highlights: any, positions: any) => any[];
export declare const filteredHighlightContent: (highlightContent: any) => any[];
export declare const getStyleFromHighlight: (highlight: any) => string;
export declare const needToHighlightAll: (token: any) => boolean;
export declare const highlightText: (token: any, content?: string) => any;