How to render tables in Slack

2020-04-29 16:38发布

I have a slack application that responds with formatted data in mrkdwn but it would be nice to have the information presented in table form like so

sample view from ipushpull

Am trying to implement this but cant quite find how to format this message. The only close solution i have is taking a screen grab of the table and sending it instead but that affects the applications response time. Any help would be appreciated thanks

1条回答
ら.Afraid
2楼-- · 2020-04-29 17:11

Slack has no built-in support to render tables in messages.

Your workaround options are:

  • Draw table with chars in the message using a monospace font (Example)

  • Draw table with chars and upload as plain text snippet with files.upload

  • Render table as image and attach to a message or upload as image

查看更多
登录 后发表回答