UNPKG

@humanspeak/svelte-markdown

Version:

Fast, customizable markdown renderer for Svelte with built-in caching, TypeScript support, and Svelte 5 runes

21 lines (20 loc) 558 B
/** * Type definitions for the Svelte Markdown component. * * This module provides TypeScript type definitions for the core functionality * of the Svelte Markdown parser and renderer. It defines the primary interface * for component props and integrates with the marked library's token system. * * Typical usage example: * ```typescript * import type { SvelteMarkdownProps } from './types'; * * const markdownProps: SvelteMarkdownProps = { * source: "# Hello World", * isInline: false * }; * ``` * * @packageDocumentation */ export {};