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)

17 lines (16 loc) 611 B
type SetTokensBlockParseOptions = { startLine?: number; endLine?: number; isInline?: boolean; contentPositions?: any; forPptx?: boolean; disableBlockRules?: boolean; }; /** * Parses a block of content with markdown-it and pushes the resulting * block tokens into the current state, with optional control over * line mapping, inline rendering, PPTX-specific behavior and temporary * disabling of selected block rules (list/blockquote/fence/heading). */ export declare const SetTokensBlockParse: (state: any, content: string, options?: SetTokensBlockParseOptions) => void; export {};