UNPKG

@curvenote/schema

Version:

Schema and markdown parser for @curvenote/editor

12 lines (11 loc) 382 B
import type { MdFormatSerialize } from '../serialize/types'; import type { Iframe } from '../spec'; import type { MyNodeSpec, AlignOptions } from './types'; export declare type Attrs = { src: string; align: AlignOptions; width: number | null; }; declare const iframe: MyNodeSpec<Attrs, Iframe>; export declare const toMarkdown: MdFormatSerialize; export default iframe;