The rule
node represents a divider, it is equivalent to the HTML <hr/> tag.
rule
is a top-level block node.
1 2{ "version": 1, "type": "doc", "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Hello world" } ] }, { "type": "rule" } ] }
Name | Required | Type | Value |
---|---|---|---|
type | ✔ | string | "rule" |
Rate this page: