UNPKG

@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.

11 lines (10 loc) 433 B
import type { Snippet } from 'svelte'; type $$ComponentProps = { children?: Snippet; tag: string; attributes?: Record<string, string>; }; /** Placeholder component rendered for blocked HTML tags. Displays the tag and content as escaped text. */ declare const UnsupportedHTML: import("svelte").Component<$$ComponentProps, {}, "">; type UnsupportedHTML = ReturnType<typeof UnsupportedHTML>; export default UnsupportedHTML;