Skip to content

sveltedown

A rich text Markdown editor for Svelte 5. Write like in a document editor, get Markdown out.

Rich text editing

Headings, lists, check lists, quotes, links, images and tables, edited like a document and stored as Markdown.

Code, source and diff

CodeMirror code blocks with syntax highlighting, plus a Markdown source view and a diff against an earlier version.

Extensible

Plugins, a composable toolbar, directives, admonitions, front-matter, MDX JSX components, and your own Svelte editors for custom nodes.

Svelte 5 native

bind:markdown, snippets and components throughout. Renders on the server in SvelteKit.

sveltedown is a port of MDXEditor to Svelte. Its plugins, options and reactive state keep MDXEditor’s names, so its documentation mostly applies too.