Rate this page:

Mark - underline

Purpose

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

Example

1
2
3
4
5
6
7
8
9
{
  "type": "text",
  "text": "Hello world",
  "marks": [
    {
      "type": "underline"
    }
  ]
}

Fields

NameRequiredTypeValue
typestring"underline"

Rate this page: