Markdown Editor

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

Needs review
Show details
Needs review
Published: January 09, 2025
Updated: February 02, 2026

The Markdown Editor 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. Toolbar

Displays common actions as Buttons, such as bolding text without having to remember the exact syntax.

No

2. Format button

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

No

3. Markdown text

Text user types that appears as markdown.

No

4. Field

Input area that contains markdown text.

No

5. MarkdownToggle

A Button to hide Markdown Editor and transform back to a simple field, like Text Field or Textarea.

Yes

6. Link

Link to Github docs for instructions on basic writing and formatting syntax.

No


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 | hover rest
hasMarkdownToggle Boolean true | false true
isDisabled Variant false | true false
MarkdownEditor
MarkdownEditor
state rest isDisabled false
Used to edit markdown content and provides actions for simple tasks such as bold and italic text.
MarkdownEditor
MarkdownEditor
state hover isDisabled false
Used to edit markdown content and provides actions for simple tasks such as bold and italic text.
MarkdownEditor
MarkdownEditor
state rest isDisabled true
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