@curvenote/schema
Version:
Schema and markdown parser for @curvenote/editor
8 lines (7 loc) • 554 B
TypeScript
import type { Node } from 'prosemirror-model';
import type { TexFormatSerialize, TexSerializerState, TexStatementOptions } from '../types';
export declare function createLatexStatement(opts: string | ((state: TexSerializerState, node: Node) => TexStatementOptions | null), f: TexFormatSerialize): TexFormatSerialize;
export declare const blankTex: TexFormatSerialize;
export declare const blankTexLines: TexFormatSerialize;
export declare function stringToLatexText(text: string): string;
export declare function stringToLatexMath(text: string): string;