UNPKG

@curvenote/schema

Version:

Schema and markdown parser for @curvenote/editor

12 lines (11 loc) 481 B
import type { MyNodeSpec, NumberedNode } from './types'; import type { Math } from '../spec'; import type { MdFormatSerialize, TexFormatSerialize } from '../serialize/types'; export declare type Attrs = NumberedNode & { title: string; }; declare const equation: MyNodeSpec<Attrs, Math>; export declare const equationNoDisplay: MyNodeSpec<Attrs, Math>; export declare const toMarkdown: MdFormatSerialize; export declare const toTex: TexFormatSerialize; export default equation;