UNPKG

@humanspeak/svelte-markdown

Version:

A powerful, customizable markdown renderer for Svelte with TypeScript support

14 lines (13 loc) 399 B
import type { Snippet } from 'svelte'; import type { SvelteMarkdownOptions } from '../types.js'; interface Props { depth: number; raw: string; text: string; options: SvelteMarkdownOptions; slug: (val: string) => string; children?: Snippet; } declare const Heading: import("svelte").Component<Props, {}, "">; type Heading = ReturnType<typeof Heading>; export default Heading;