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.

9 lines (8 loc) 272 B
import type { AlertType } from './markedAlert.js'; interface Props { text: string; alertType: AlertType; } declare const AlertRenderer: import("svelte").Component<Props, {}, "">; type AlertRenderer = ReturnType<typeof AlertRenderer>; export default AlertRenderer;