UNPKG

@curvenote/schema

Version:

Schema and markdown parser for @curvenote/editor

4 lines (3 loc) 202 B
import type { Node as ProsemirrorNode } from 'prosemirror-model'; import type { UseSchema } from '../../schemas'; export declare function fromYAML(input: string, useSchema: UseSchema): ProsemirrorNode;