Rate this page:
The paragraph
node is a container for a block of formatted text delineated by a carriage return.
It's the equivalent of the HTML <p> tag.
paragraph
is a top-level block node.
1 2 3 4 5 6 7 8 9
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "Hello world"
}
]
}
Name | Required | Type | Value |
---|---|---|---|
type | ✔ | string | "paragraph" |
content | array | Array of zero or more nodes. |
content
can take any inline mode.
Rate this page: