Jira Cloud platform Developer

Jira Cloud platform Developer

Rate this page:

Mark - code

Purpose

The code mark sets code styling. This mark applies to text nodes.

Example

1
2
3
4
5
6
7
8
9
{
  "type": "text",
  "text": "Hello world",
  "marks": [
    {
      "type": "code"
    }
  ]
}

Combinations with other marks

code can ONLY be combined with the following marks:

Fields

NameRequiredTypeValue
typestring"code"

Rate this page: