Developer
Documentation
Resources
Get Support
Sign in
Developer
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Developer
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Last updated Oct 16, 2025

Node - rule

Purpose

The rule node represents a divider, it is equivalent to the HTML <hr/> tag.

Type

rule is a top-level block node.

Example

1
2
{
  "version": 1,
  "type": "doc",
  "content": [
    {
      "type": "paragraph",
      "content": [
        {
          "type": "text",
          "text": "Hello world"
        }
      ]
    },
    {
      "type": "rule"
    }
  ]
}

Fields

NameRequiredTypeValue
typestring"rule"

Rate this page: