Format your messages

Use formatting to add clarity and detail to your message when you need it. There are two ways to format your text, depending on which Slack app you’re using:

  • Format as you type: On desktop and mobile, you can format as you type by using the symbols described below.
  • Use keyboard shortcuts: On desktop, you can also use keyboard shortcuts to format selected text. For example, to make a word bold Slack in your message, select and highlight the word Slack, then press B.

Tip: You can use multiple formats in the same selection of text. For example, *I am _very_ excited* will be displayed as I am very excited.

 

Bold

bold.png


To make your text bold, surround it with asterisks: *your text*

Desktop shortcuts:
Select text, then press B on Mac or CtrlB on Windows/Linux


Italics

italics.png

To italicise your text, surround it with underscores: _your text_

Desktop shortcuts:
Select text, then press I on Mac or CtrlI on Windows/Linux


Strikethrough

strikethrough.png


To cross out your text (strikethrough), surround it with tildes: ~your text~

Desktop shortcuts:
Select text, then press ShiftX on Mac or CtrlShiftX on Windows/Linux

Note: Unfortunately, strikethrough does not work using full-width input mode. 


Quotes

quotes.png

To make your text a quote, add angled brackets (>) before your text:
Quote one sentence
>>>
Quote multiple sentences

Desktop shortcuts:
Select text, then press Shift> on Mac or CtrlShift> on Windows/Linux


In-line code

inlinecode.png


To format in-line code, surround your text with backtick symbols (`):
`Format one word or one line`
```
Format blocks of text```

Desktop shortcuts:
Select text, then press ShiftC on Mac or CtrlShiftC on Windows/Linux

Note: Other formatting like bold or italic text will not display in in-line code. For enhanced code sharing, we suggest creating a snippet!


Lists

lists.png


To format a list, begin your message with a number or a bullet point (•). Type Shift Enter to create a new preformatted line. 

Desktop shortcuts:
For numbers:
Shift7 on Mac
CtrlShift7 on Windows
For bullet points:
Shift8 on Mac
CtrlShift8 on Windows

Tip: Add a bullet point (•) from your keyboard by pressing Option8 on Mac or Alt7 (using the number pad) on most Windows machines. Or simply start your list with an asterisk (*) and it’ll get converted to a bullet point. 

Note: The following formatting options work as described when using full-width (JP) input mode. When using half-width (EN) input mode, you need to add spaces before and after the formatting symbols.

A note about Markdown

Our message formatting was designed to support the majority of our customers. Since most are not familiar with Markdown, we’ve chosen not to support it.

For more formatting options, try composing a post to share with other members. 

Note: Hyperlinking a message isn’t supported. To include a URL, you can paste it into the message field. See Share links in Slack for more. 

Tip: See the Message formatting page in our API docs for details on formatting bot messages.

Related articles

Recently viewed articles