Markdown Editor

Used to edit markdown content and provides actions for simple tasks such as bold and italic text.

Stable
Show details
Stable
Published: July 30, 2026
Updated: September 03, 2026

The Markdown Editor is a Textarea for multiline text that lets users quickly edit markdown text. It provides a toolbar with common actions, such as bolding text without having to remember the exact syntax.


Anatomy

Anatomy summary lists and describes all the elements within a component (including nested components).

markdownEditor-anatomy

Element

Description

Optional?

1. Field label

Mandatory textual label used to describe the form field to guide users in filling it.

No

2. Required or optional marker

Textual label used to denote if a field is required or optional. Marker's copy is not changeable.

Yes

3. Popover trigger

Used to display a Popover with more content explaining the context of a field. Used when Helper text is not sufficient.

Yes

4. Helper text

Additional description helping users provide the right input, if the field label is insufficient.

Yes

5. Markdown toolbar

Row of formatting actions (Bold, Italic, Bulleted List, Numeric List, Link, Image, Code, Quotes).

Yes. Only rendered while toggled on.

6. Format button

Buttons for common actions:
- Bold
- Bulleted list
- Code
- Numeric list
- Italic
- Image
- Quotes

No

7. Markdown text

Text user types that appears as markdown.

No

8. Field

Textarea that contains plain or markdown text.

No

9. Toolbar toggle

Button that shows or hides the Markdown formatting toolbar

Yes. Hidden with hideMarkdownToggle.


Variants

Variants contain different versions of the component depending on specific properties, such as state, size, colour, optional iconography, etc.

MarkdownEditor
Property Values Default
state Variant rest | focus rest
showToolbar Boolean true | false true
hasFieldValue Boolean true | false true
hasPlaceholder Boolean true | false undefined
isDisabled Variant false | true false
validation Variant neutral | error neutral
MarkdownEditor
state focus isDisabled false validation neutral
Used to edit markdown content and provides actions for simple tasks such as bold and italic text.
MarkdownEditor
state rest isDisabled false validation error
Used to edit markdown content and provides actions for simple tasks such as bold and italic text.
MarkdownEditor
state rest isDisabled false validation neutral
Used to edit markdown content and provides actions for simple tasks such as bold and italic text.
MarkdownEditor
state rest isDisabled true validation neutral
Used to edit markdown content and provides actions for simple tasks such as bold and italic text.

Component dependencies

This component is internally dependent on the following components:


Help and support