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.

10 lines (9 loc) 325 B
import type { Snippet } from 'svelte'; interface Props { children?: Snippet; attributes?: Record<string, any>; } /** Renders an HTML `<bdo>` element. Accepts optional attributes and child content. */ declare const Bdo: import("svelte").Component<Props, {}, "">; type Bdo = ReturnType<typeof Bdo>; export default Bdo;