@humanspeak/svelte-markdown
Version:
Markdown and HTML renderer for Svelte 5 — built for rendering streaming AI agent output from Claude Code, ChatGPT, and agentic workflows. XSS-safe defaults, streaming-aware sanitization, token caching, TypeScript types, and Svelte 5 runes.
9 lines (8 loc) • 300 B
TypeScript
import type { Snippet } from 'svelte';
interface Props {
children?: Snippet;
}
/** Renders a markdown blockquote (`>`) as a `<blockquote>` element. */
declare const Blockquote: import("svelte").Component<Props, {}, "">;
type Blockquote = ReturnType<typeof Blockquote>;
export default Blockquote;