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) • 400 B
TypeScript
import { TTokenTabular } from "./index";
/**
* 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) => Array<TTokenTabular> | null;