@curvenote/schema
Version:
Schema and markdown parser for @curvenote/editor
13 lines (12 loc) • 437 B
TypeScript
import type { MyNodeSpec } from './types';
import type { MdFormatSerialize, TexFormatSerialize } from '../serialize/types';
import type { LinkBlock } from '../spec';
export interface Attrs {
title: string;
description: string;
url: string;
}
declare const link_block: MyNodeSpec<Attrs, LinkBlock>;
export declare const toMarkdown: MdFormatSerialize;
export declare const toTex: TexFormatSerialize;
export default link_block;