Skip to content

Subtitle

subtitle is a block element node that represents a document subtitle.

Children

  • Its children directly contain text nodes and supported inline elements, such as links. Content following a subtitle remains in sibling blocks, rather than becoming its children.

Data Structure

{
  "id": "G1opTnrHRr6aX7qbJXZJiw",
  "type": "subtitle",
  "children": [
    {
      "id": "D_bLOntqQHSZ8lu9VJn_JQ",
      "text": "subtitle content"
    }
  ]
}