matrix-appservice-webhooks icon indicating copy to clipboard operation
matrix-appservice-webhooks copied to clipboard

Markdown processing

Open turt2live opened this issue 7 years ago • 2 comments

This is what Slack wants

{
    "text": "*bold* `code` _italic_ ~strike~",
    "username": "markdownbot",
    "mrkdwn": true
}

This will use the mrkdwn property if it exists, but otherwise assume format as the default, ie:

{
    "text": "*bold* `code` _italic_ ~strike~",
    "username": "markdownbot",
    "format": "markdown"
}

turt2live avatar Jul 08 '17 17:07 turt2live

Further support the mrkdwn_in field. This is an array of fields with markdown in them.

turt2live avatar Jul 11 '17 16:07 turt2live

What is the status of this? I've been trying for a while to get code to look right via the webhook, and from this issue it's not really clear (to me at least) if and how the formatting via webhooks works...

whoracle avatar Nov 27 '19 17:11 whoracle