Markdown editor

@summonware/ui · markdown-editor · P3 · Forms

Usage

A split-pane markdown editor over EasyMDE (MIT). Plain markdown as the storage format — a changelog entry, a README-style field — distinct from `RichTextEditor`, which stores HTML for content meant to render as rich text directly.
import { MarkdownEditor } from '@summonware/ui';

Best practices

DoUse this when the stored value needs to stay plain-text-portable (versioned in git, diffable, emailable). That is what markdown is for.
Don'tUse this for content a non-technical user edits primarily through the preview, never the raw syntax. `RichTextEditor` matches that expectation better — no markdown syntax to learn.

Examples

Common configurations, variations and states.

Basic editor

Bold/italic/heading, lists, links, and a preview toggle.

Reference variants

1 of 3 labels from the reference are demonstrated above.
SimpleMDE Markdown EditorAutosavingHidden toolbar and status bar