Rate this page:
The code
mark sets code styling. This mark applies to text
nodes.
1 2 3 4 5 6 7 8 9
{
"type": "text",
"text": "Hello world",
"marks": [
{
"type": "code"
}
]
}
code
can ONLY be combined with the following marks:
Name | Required | Type | Value |
---|---|---|---|
type | ✔ | string | "code" |
Rate this page: