ByteMD is a hackable markdown editor originally built with Svelte by ByteDance. It compiles to framework-agnostic JavaScript. @humanspeak/svelte-markdown is a focused Svelte 5 rendering component.
| Feature | @humanspeak/svelte-markdown | ByteMD |
|---|---|---|
| Svelte 5 Native | Svelte 3/4 era | |
| TypeScript Support | ||
| Markdown Rendering | ||
| Markdown Editing | ||
| Custom Renderers | Via plugins | |
| Token Caching | ||
| HTML Tag Control | 84 tags with allow/deny | Via sanitize schema |
| LLM Streaming Mode ByteMD is an editor with live preview, but its upstream docs do not describe a dedicated markdown streaming renderer mode. | writeChunk() / resetStream() | |
| Plugin Ecosystem | Marked extensions | Official plugins (math, mermaid, etc.) |
| Math (KaTeX) | Built-in extension (markedKatex) | Via @bytemd/plugin-math |
| Diagrams (Mermaid) | Built-in extension (markedMermaid) | Via @bytemd/plugin-mermaid |
| XSS Protection | Built-in | Built-in (sanitize-html) |
| Framework Support | Svelte 5 | Svelte, React, Vue, vanilla |
| Maintenance | Active | Slowed (~1.3k stars, fewer recent updates) |
Choose ByteMD when you need a cross-framework markdown editor with built-in plugins. Choose @humanspeak/svelte-markdown when you want a modern, Svelte 5-native rendering component — ByteMD has not yet been updated for Svelte 5.
Install in seconds and render your first markdown.