LLui Markdown Editor

A WYSIWYG editor built on The Elm Architecture — Markdown in, Markdown out, the rich editing hidden behind a pluggable widget. Powered by @llui/markdown-editor over @llui/lexical.

Full editor

Toolbar, lists, code, links, and a custom callout decorator. The panel mirrors the live Markdown; the buttons drive the editor through its public handle.

Minimal editor

No chrome at all — just keyboard Markdown shortcuts. The same component, configured down.

Single block (inline-only)

The same component constrained to one paragraph with inline styles only via singleBlockPlugin() — no headings, lists, or block structure. Block Markdown stays literal, and pasting multi-paragraph text collapses to a single line.

Title field strict single line

Enter is inert; paste a heading or several paragraphs — it flattens to one line.


            

Comment box line breaks + links

singleBlockPlugin({ allowLineBreaks: true, link: true }) + the linkPlugin() dialog. Shift/Enter inserts a soft break, never a new paragraph.


            

Two-way Markdown source

The raw Markdown and the WYSIWYG view are bound through the handle — edit either side.