@curvenote/schema
Version:
Schema and markdown parser for @curvenote/editor
16 lines (15 loc) • 468 B
TypeScript
import type { NodeDef } from '../types';
import type { MdFormatSerialize } from '../../serialize/types';
import type { Variable } from '../../spec';
export declare type Attrs = {
name: string;
value?: string;
valueFunction?: string;
format?: string;
};
export declare const def: NodeDef;
declare const spec: import("../types").MyNodeSpec<{
[x: string]: string;
}, Variable>;
export declare const toMarkdown: MdFormatSerialize;
export default spec;