Skip to content

Commit 21f0535

Browse files
zimegClaudeclaude
authored
fix(block-kit): set verbatim false on the alert block example text (#357)
Co-authored-by: Claude <svc-devxp-claude@slack-corp.com> Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent 4b3e0d3 commit 21f0535

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎block-kit/src/blocks/alert.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ def example01() -> AlertBlock:
1010
An informational alert.
1111
"""
1212
block = AlertBlock(
13-
text=MarkdownTextObject(text="The work is mysterious and important."),
13+
text=MarkdownTextObject(
14+
text="The work is mysterious and important.",
15+
verbatim=False,
16+
),
1417
level="info",
1518
)
1619
return block

‎block-kit/tests/blocks/test_alert.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ def test_example01():
1111
"text": {
1212
"type": "mrkdwn",
1313
"text": "The work is mysterious and important.",
14+
"verbatim": False,
1415
},
1516
"level": "info",
1617
}

0 commit comments

Comments
 (0)