Mark - underline

Purpose

The underline mark sets underline styling. This mark applies to text nodes.

Example

1
2
{
  "type": "text",
  "text": "Hello world",
  "marks": [
    {
      "type": "underline"
    }
  ]
}

Fields

NameRequiredTypeValue
typestring"underline"

Rate this page: