Formatting Slack messages in dashdash

Overview

If you’re using our Slack integration, you’re more than likely sending messages to users and channels. However, maybe you’ve wondered how to add a little bit of extra formatting to your texts? Well, in this article we’ll take you through how to add some flair to your messages :sunglasses:. We’ll cover adding:

  • bold, italics, and strikethrough
  • inline and code blocks
  • quote blocks
  • emojis
  • line breaks

Bold, italics, and strikethrough

To add bold formatting to your text, surround it with asterisks ( * ).

Example:

I want *this* to be bold.

Bold example

To add italic formatting to your text, surround it with an underscore ( _ ).

Example:

I want _this_ to be italic.

Italics example

To add strikethrough formatting to your text, surround it with a tilde ( ~ ).

Example:

I want ~this~ to have a strikethrough.

Strikethrough example

Inline and code blocks

To add inline code to your text, surround it with a backtick ( ` ).

Example:

I want this to be inline code.

Inline code example

To add a code block, surround the text with three backticks ( ``` ).

Example:

\```
Don't use the "\" mark before the three backticks
and this whole text will be in a code block.
\```
Code block example

Quote blocks

To add a quote block to your text, add a single right arrow ( > ) before the text.

Example:

> This will be a quote block!

Quote block example

Emojis

There’re a two ways you can add emojis to your messages in dashdash:

  1. Use Cmd + Ctrl + Space (MacOS) or Win + Ctrl + Space (Windows) and insert an emoji.
  2. Use emoji codes.

The second option allows you to use your Slack workspace custom emojis.

Emoji example

Line breaks

If you want your text to have a line break, then just use Option + Enter (MacOS) or Alt + Enter (Windows):

Line break example

Summary

There you go! Now you can add some flair to your Slack messages to give them some oomph! And just remember - you can use normal spreadsheet logic, such as IF statements or cell references, with your Slack messages.

Also, make sure to check our ready-to-go Slack templates!

Now, go out there and build :rocket:!

2 Likes