Rate this page:

Node - text

Purpose

The text node holds document text.

Type

text is an inline node.

Example

1
2
3
4
{
  "type": "text",
  "text": "Hello world"
}

Fields

NameRequiredTypeValue
typestring"text"
textstringNon-empty text string
marksarrayArray of marks

Text

text must not be empty.

Marks

The following marks can be applied:

Rate this page: