Explore how svelte-markdown works with live, interactive demos. Edit markdown, customize renderers, filter HTML, and measure caching performance.
Edit markdown in real-time and see it rendered instantly. Mix markdown with HTML tags.
See how to override default renderers and control which markdown elements are rendered.
Interactive demo of allow/deny controls for HTML tags within markdown content.
Explore token caching and see the performance improvement on repeated renders.
Live KaTeX math rendering with the extensions prop. Try component renderers and snippet overrides.
Async Mermaid diagram rendering with a custom marked extension. Flowcharts, sequence diagrams, and more.
GitHub-style alert admonitions (NOTE, TIP, IMPORTANT, WARNING, CAUTION) with the built-in markedAlert extension.
Footnote references and definitions with bidirectional linking using the built-in markedFootnote extension.
Enhance code blocks with walkTokens extensions and snippet overrides. No custom renderers required.
Customize rendering inline with Svelte 5 snippets. No separate component files needed.
Add clickable anchor links to headings with snippet overrides or custom renderers for easy deep-linking.
Simulate real-time AI response streaming with adjustable speed, jitter, and chunk modes. Measure render performance live.
Check out the documentation for installation and API reference.
Get Started