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)

26 lines (25 loc) 564 B
import { Token } from "markdown-it"; export interface FootnoteItem { id?: number; footnoteId?: number; count?: number; content?: string; tokens?: Array<Token>; numbered?: number; type?: string; lastNumber?: number; isBlock?: boolean; counter_footnote?: number; hasContent?: boolean; markerId?: number; textId?: number; } export interface FootnoteMeta { id: number; footnoteId?: number; numbered?: number; lastNumber?: number; type?: string; isBlock?: boolean; hasContent?: boolean; }