← All widgetsTier 1Creative

Markdown Editor

Editor + live preview.

A split markdown editor with live preview.

type · markdown_editor
Runs entirely in the shell — no backend needed.

How to use it

Just ask for it in chat — the agent emits this widget and the shell renders it:

Try saying
open a markdown editor

Example

The agent returns this A2UI component (inside the components array of a /chat response):

markdown_editor.json
{
  "type": "markdown_editor",
  "content": "# Hello\n\nStart typing **markdown**…"
}

Properties

PropTypeDescription
contentstringInitial markdown

Browse the full Widget Index, the Widget Catalog, or learn the A2UI system behind it.