UNPKG

@curvenote/schema

Version:

Schema and markdown parser for @curvenote/editor

12 lines (11 loc) 446 B
import type { Caption } from '../spec'; import type { MdFormatSerialize } from '../serialize/types'; import type { MyNodeSpec } from './types'; import { CaptionKind } from './types'; export declare type Attrs = { kind: CaptionKind | null; }; declare const figcaption: MyNodeSpec<Attrs, Caption>; export declare const toMarkdown: MdFormatSerialize; export declare const toTex: import("../types").TexFormatSerialize; export default figcaption;