Mark - strike

Purpose

The strike mark sets strike-through styling. This mark applies to text nodes.

Example

1
2
{
  "type": "text",
  "text": "Hello world",
  "marks": [
    {
      "type": "strike"
    }
  ]
}

Fields

NameRequiredTypeValue
typestring"strike"

Rate this page: