Wiki

Clone wiki

adf-builder-java / mark-strike

Mark: strike

Usage

Description

The strike mark sets strikethrough styling.

Example

Java

    p(
        text("Hello "),
        text("world").strike(),
        text("!")
    )

ADF

{
    "type": "paragraph",
    "content": [
        {
            "type": "text",
            "text": "Hello "
        },
        {
            "type": "text",
            "text": "world",
            "marks": [
                {
                    "type": "strike"
                }
            ]
        },
        {
            "type": "text",
            "text": "!"
        }
    ]
}

Result

Hello world!

Compatibility

Products

Confluence Jira

Nodes

Marks

code

Structure

  • type - strike

Updated