Carta (carta-md) is a lightweight Svelte markdown editor AND viewer powered by unified/remark/rehype. @humanspeak/svelte-markdown is a focused rendering component.
| Feature | @humanspeak/svelte-markdown | Carta |
|---|---|---|
| Svelte 5 Native | ||
| TypeScript Support | ||
| Markdown Rendering | ||
| Markdown Editing | ||
| Custom Renderers | Svelte components | Via plugins |
| Token Caching | ||
| HTML Tag Control | 69+ tags with allow/deny | Via rehype-sanitize |
| Syntax Highlighting | Via extensions | Built-in plugin |
| Math (KaTeX) | Via extensions | Built-in plugin |
| Split-Pane UI | ||
| Keyboard Shortcuts |
Choose Carta when you need a Svelte-native markdown editor with live preview — it is the lightest editor option in the ecosystem. Choose @humanspeak/svelte-markdown when you only need rendering — simpler, lighter, with better caching and HTML control.
Install in seconds and render your first markdown.