Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion block-kit/src/blocks/alert.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ def example01() -> AlertBlock:
An informational alert.
"""
block = AlertBlock(
text=MarkdownTextObject(text="The work is mysterious and important."),
text=MarkdownTextObject(
text="The work is mysterious and important.",
verbatim=False,
Comment thread
zimeg marked this conversation as resolved.
Resolved
),
level="info",
)
return block
1 change: 1 addition & 0 deletions block-kit/tests/blocks/test_alert.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def test_example01():
"text": {
"type": "mrkdwn",
"text": "The work is mysterious and important.",
"verbatim": False,
},
"level": "info",
}
Expand Down
Loading