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)

9 lines (8 loc) 465 B
import { TTokenTabular } from "./index"; import { TVerticalPos } from './common'; /** * Splits a tabular row into columns by unescaped '&' characters. * Escaped '\&' is treated as a literal '&' and does not split columns. */ export declare const separateByColumns: (str: string) => string[]; export declare const ParseTabular: (str: string, i: number, align?: string, options?: {}, isSubTabular?: boolean, bracket?: TVerticalPos) => Array<TTokenTabular> | null;