@humanspeak/svelte-markdown

Runtime Markdown and HTML renderer for Svelte 5, including streamed content

Utility Library Open Source
@humanspeak/svelte-markdown website screenshot

Overview

@humanspeak/svelte-markdown renders Markdown at runtime, including content arriving in chunks. It supports GitHub Flavored Markdown, HTML tag filtering, and custom renderers built with Svelte components or snippets. This makes it useful for chat interfaces and other applications that display dynamic Markdown.

Best For

Rendering Markdown in Svelte 5 apps, especially streamed AI responses that need custom output components.