Node - listItem

Purpose

The listItem node represents an item in a list.

Type

listItem is a child block node of:

Example

1 2 3 4 5 6 7 8 9 10 11 12 13 14 { "type": "listItem", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Hello world" } ] } ] }

Fields

NameRequiredTypeValue
typestring"listItem"
contentarrayAn array of one or more nodes.

Content

content must contain at least one of the following nodes:

Rate this page: