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) 247 B
interface Props { raw: string; } /** Renders an inline code span (`` `code` ``) as a `<code>` element. */ declare const Codespan: import("svelte").Component<Props, {}, "">; type Codespan = ReturnType<typeof Codespan>; export default Codespan;