Formatting on Slack

How to do formatting on your Slack messages.

Formatting on Slack is pretty straight forward, so here we go.

Bold text

Whatever text you would like to see bold, just pop some * on either side.

This is *my bold text.*

Results in:

This is my bold text.

Italicised text

Whatever text you would like to see italicised, just pop some _ on either side.

This is _my italicised text._

Results in:

This is my italicised text.

Inline code

To have some inline code, just pop a ` on either side.

This is `my inline code.`

Results in:

This is my inline code.

Code blocks

To make a code block, pop three ` on either side of your code.

```
def code_block
  puts "Yay! Code block!"
end
```

Results in:

def code_block
  puts "Yay! Code block!"
end

This is part of our Slack mini series, where we quickly explain simple and more advanced Slack features. Excellent for beginners or if you just need a quick refresher.

If there is a feature you would like us to cover please drop us an email or tweet.

Recent posts View all

Talk CSS

FrontEnders - Web Performance

Sharing some of my thoughts on a FrontEnders meetup on the topic of Web Performance

Talk

Tips for how to ask for time off to attend conferences

Asking for time off to attend a conference can be nerve-racking, these tips will get you closer to attending the conferences you're interested in.