@curvenote/schema
Version:
Schema and markdown parser for @curvenote/editor
12 lines (11 loc) • 403 B
TypeScript
import type { MyNodeSpec } from './types';
import type { MdFormatSerialize, TexFormatSerialize } from '../serialize/types';
import type { Mention } from '../spec';
export interface Attrs {
label: string;
user: string;
}
declare const mention: MyNodeSpec<Attrs, Mention>;
export declare const toMarkdown: MdFormatSerialize;
export declare const toTex: TexFormatSerialize;
export default mention;