В блоках сообщений Slack, при добавлении кнопки, текст диалога подтверждения должен поддерживать уценку.
https://api.slack.com/reference/block-kit/composition-objects#text
Но он просто отображает простой текст :
{
"blocks": [
{
"type": "section",
"accessory": {
"type": "button",
"text": {
"type": "plain_text",
"text": "Validate"
},
"confirm":{
"title": {
"type": "plain_text",
"text": "Details"
},
"text": {
"type": "mrkdwn",
"text": "*bold* ?"
},
"confirm": {
"type": "plain_text",
"text": "Ok"
}
}
},
"text": {
"type": "mrkdwn",
"text": "Hello World!"
}
}
]
}
![button confirmation not interpreting markdown](https://i.stack.imgur.com/QpNFy.png)