From 7af40c14201dddd9be993e7cb51e43890c4ece31 Mon Sep 17 00:00:00 2001 From: Zeger-Jan van de Weg Date: Fri, 9 Dec 2016 15:51:43 +0100 Subject: [PATCH 1/2] Update docs regarding the Slack Attachment format --- source/developer/message-attachments.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/developer/message-attachments.rst b/source/developer/message-attachments.rst index 5416831efcc..5888743daeb 100644 --- a/source/developer/message-attachments.rst +++ b/source/developer/message-attachments.rst @@ -5,6 +5,8 @@ Basic formatting such as bold and italic can be included in the ``text`` field o For more advanced formatting, it is necessary to send an ``attachments`` array in the payload sent by an integration. +There is no support for attachments in Slash commands [as of yet](https://github.com/mattermost/platform/issues/4238) + --------------------------- | From e7d216de1f5376c1bd59d35a5997e9e16715819d Mon Sep 17 00:00:00 2001 From: it33 Date: Fri, 9 Dec 2016 07:27:56 -0800 Subject: [PATCH 2/2] Add RST formatting and update intro --- source/developer/message-attachments.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/developer/message-attachments.rst b/source/developer/message-attachments.rst index 5888743daeb..ab34e74742f 100644 --- a/source/developer/message-attachments.rst +++ b/source/developer/message-attachments.rst @@ -1,11 +1,11 @@ Message Attachments ------------------- -Basic formatting such as bold and italic can be included in the ``text`` field of an integration’s payload by using markdown. +A wide range of rich text formatting options, including bold, italic, headings, in-line images, and tables, can be used in integrations using `Mattermost markdown support `_. -For more advanced formatting, it is necessary to send an ``attachments`` array in the payload sent by an integration. +For additional formatting options, and for compatibility with Slack non-markdown integrations, an ``attachments`` array can be sent by integrations and rendered by Mattermost. -There is no support for attachments in Slash commands [as of yet](https://github.com/mattermost/platform/issues/4238) +Note: Attachment support is available for webhook integrations and not yet available for slash commands. `There is a Help Wanted issue available for community to add attachment support for slash commands `_ ---------------------------