How to render tables in Slack

Caleb Njiiri picture Caleb Njiiri · Nov 23, 2019 · Viewed 13k times · Source

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

Answer

Erik Kalkoken picture Erik Kalkoken · Nov 23, 2019

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