Markdown

The markdown field supports rich text and markdown. This field returns text that has markdown in it and can be rendered using a supplemental Markdown library of your choice.

Markdown Field
{
  component: 'markdown',
  name: 'markdownName',
  label: 'Markdown Field',
  description: 'A markdown input',
  defaultValue: 'This is default value'
}

Key

Type

Required

Description

component

string

yes

The name of the field component.(markdown)

name

string

yes

The name of the field that will be accessible by the cms prop of the component.

label

string

no

A human-readable label for the field.

description

string

no

A short description of the setting scope.

defaultValue

string

no

The default value for the field.

Last updated