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.

8 lines (7 loc) 237 B
interface Props { text?: string; } /** Renders a markdown escape sequence (e.g. `\*`) as plain text. */ declare const Escape: import("svelte").Component<Props, {}, "">; type Escape = ReturnType<typeof Escape>; export default Escape;