svelte-exmarkdown is an extensible runtime markdown renderer built on unified/remark/rehype. @humanspeak/svelte-markdown is built on marked. Both render markdown as Svelte components at runtime.
| Feature | @humanspeak/svelte-markdown | svelte-exmarkdown |
|---|---|---|
| Svelte 5 Native | ||
| TypeScript Support | ||
| Parsing Engine | marked | unified/remark/rehype |
| Custom Renderers | ||
| Token Caching | Built-in LRU cache | |
| HTML Tag Control | 69+ tags with allow/deny | Via rehype plugins |
| Plugin System | Marked extensions | Remark/rehype plugins |
| Snippet Overrides | ||
| HTML Renderers | 69+ dedicated components | Generic element handling |
| Bundle Size | ~15KB | ~25KB+ (unified stack) |
| Marked Extensions |
Choose svelte-exmarkdown if you are invested in the unified/remark/rehype ecosystem and need specific plugins from that world. Choose @humanspeak/svelte-markdown for a lighter, faster option with built-in caching, snippet overrides, and comprehensive HTML tag handling.
Install in seconds and render your first markdown.