Hi, there!
I want Grafana to send us the Slack notification with a table. I created table this way
{{define "table_stats.message"}}
{{- if eq .Status "firing" -}}
| table | delta |
|---|---|
{{- range .Alerts -}}
| {{ .Labels.name}} | {{ .Labels.delta}} |
{{end}}
{{- else if ne .Status "firing" -}}
:cooldoge: **All tables are safe and sound** :cooldoge:
{{end}}
{{end}}
However, we got something like this

However, when I try to draw table without any if-else and so forth I is drawn properly. What I do wrong
Hi!
I don’t think tables are supported in Slack Formatting text for app surfaces | Slack
Hello! Unfortunately, you are not right hence putting the markdown directly to message I got a pretty nice table

It seems to me that all Markdown features Are supported
That’s great news! We should ask Slack to add tables to their documentation as it’s not documented on the page I linked! 
Well, guys, the solution was found by myself. The initial idea was absolutely right, but I didn’t pay much attention to the fact that every action will render a newline if there is no minus sign after the opening {{
or before closing }}
around the action (docs). That’s why the solution looks like this
| table | delta GB |
|---|---|
{{- range .Alerts -}}
{{ if .Labels.name }}
| {{ .Labels.name}} | {{ .Labels.delta}} |
{{- end -}}
{{end}}