Slack is a popular team messaging and collaboration application that supports a subset of the Markdown syntax. Different parts of the interface provide different levels of Markdown support.

Messages

Slack’s message interface is the one people use most. Support for some basic syntax is provided, although support for many elements is notably absent.

In November 2019, Slack introduced a new WYSIWYG interface, as shown below. This feature is enabled for all users by default. The most obvious change is the addition of formatting buttons in the interface controls, but there’s also a live editor that hides the Markdown formatting after you type it. You don’t have to use the interface controls to format your text — you can still use the Markdown syntax elements described in the next section.

Slack markdown in the message interface

You can disable the WYSIWYG interface in Preferences > Advanced. Select the Format messages with markup setting, as shown below. Enabling this setting will hide the WYSIWYG formatting buttons and disable the live editor so you can see the Markdown formatting as you type it.

Tip: If you have multiple workplaces open in Slack, you'll need to enable this setting for each workplace.

Enable Markdown in the Slack message interface

Slack Markdown Support in Messages

The Slack message interface provides support for the following the Markdown elements.

ElementSupportNotes
HeadingsNo
ParagraphsNo
Line BreaksNoThe Markdown syntax is not supported, but you can press the Shift and Return keys to go to the next line.
BoldNoThe Markdown syntax is not supported, but you can add bold styling with single asterisks, which is the standard Markdown syntax for italic. Very confusing!
ItalicPartialOnly underscores are supported.
BlockquotesYes
Ordered ListsPartialStandard Markdown syntax is *only* supported if WYSIWIG editor is disabled.
Unordered ListsPartialStandard Markdown syntax is *only* supported if WYSIWIG editor is disabled. Only supports dash and asterisk for unordered list.
CodePartialCode blocks are not supported.
Horizontal RulesNo
LinksPartialStandard Markdown syntax is *only* supported if WYSIWIG editor is disabled.
ImagesNoThe Markdown syntax is not supported, but you can drag and drop images to share them.
TablesNo
Fenced Code BlocksYes
Syntax HighlightingNo
FootnotesNo
Heading IDsNo
Definition ListsNo
StrikethroughPartialUse only one tilde symbol before and after the phrase.
Task ListsNoIs interpreted as an unordered list
Emoji (copy and paste)Yes
Emoji (shortcodes)Yes
HighlightNo
SubscriptNo
SuperscriptNo
Automatic URL LinkingYes
Disabling Automatic URL LinkingYes
HTMLNo
Tip: This information relates to the message interface in Slack's user interface. The Slack API for messages supports additional syntax elements that aren't supported in Slack's user interface. See Slack's API documentation for more information.

Posts

The Slack post interface is editor that allows you to create a document for sharing in Slack. This is a live editor, which means you will see the actual formatting immediately after you type Markdown formatted text. For example, if you type _test_, the underscores will disappear and you’ll see the word “test” in italics.

To create a post, click the shortcuts icon and select Create a Post as shown below.

Slack markdown in the post interface

Slack Markdown Support in Posts

The Slack post interface provides support for the following Markdown elements.

ElementSupportNotes
HeadingsPartialOnly heading levels one and two are supported. Only number signs are supported.
ParagraphsYes
Line BreaksNo
BoldNoThe Markdown syntax is not supported, but you can add bold styling with single asterisks, which is the standard Markdown syntax for italic. Very confusing!
ItalicPartialOnly underscores are supported.
BlockquotesYes
Ordered ListsYes
Unordered ListsYes
CodeYes
Horizontal RulesNo
LinksNo
ImagesNo
TablesNo
Fenced Code BlocksYes
Syntax HighlightingNo
FootnotesNo
Heading IDsNo
Definition ListsNo
StrikethroughPartialUse only one tilde symbol before and after the phrase.
Task ListsNo
Emoji (copy and paste)Yes
Emoji (shortcodes)Yes
HighlightNo
SubscriptNo
SuperscriptNo
Automatic URL LinkingYes
Disabling Automatic URL LinkingYes
HTMLNo

See Also

Markdown Guide book cover
Take your Markdown skills to the next level.

Learn Markdown in 60 pages. Designed for both novices and experts, The Markdown Guide book is a comprehensive reference that has everything you need to get started and master Markdown syntax.

Get the Book
Want to learn more Markdown?

Don't stop now! 🚀 Star the GitHub repository and then enter your email address below to receive new Markdown tutorials via email. No spam!