@curvenote/schema
Version:
Schema and markdown parser for @curvenote/editor
10 lines (9 loc) • 457 B
TypeScript
import type { InlineMath } from '../spec';
import type { MdFormatSerialize, TexFormatSerialize } from '../serialize/types';
import type { MyNodeSpec } from './types';
export declare type Attrs = Record<string, never>;
declare const math: MyNodeSpec<Attrs, InlineMath>;
export declare const mathNoDisplay: MyNodeSpec<Attrs, InlineMath>;
export declare const toMarkdown: MdFormatSerialize;
export declare const toTex: TexFormatSerialize;
export default math;