How To Format a Slack Message in Keragon

When Keragon posts to Slack, Slack applies its own message formatting rules. Use the patterns below to make your notifications easier to scan and to control how links, emoji, and mentions appear.



 

Text

  • Bold: wrap your text with asterisks (*)
  • Italic: wrap your text with underscores (_)
  • Strikethrough: wrap your text with tildes (~)
*bold*
_italic_
~strikethrough~
Tip: Avoid extra spaces inside the markers (for example * bold * may not render as bold).



 

Inline code and blockquotes

  • Inline code (single word or line): wrap your text with a single backtick (`)
  • Code block (multi-line): wrap your text with three backticks (```)
  • Blockquote: start the line with a closing angle bracket (>)
`inline code`

```multi-line
code block
goes here```

>blockquote
Tip: Use code blocks for logs, IDs, or payloads to keep Slack from reformatting the text.



 

Lists

Ordered lists (numbered): type the number, a period (.), and a space before your text.

1. ordered list
2. second item
3. third item

Bulleted lists: automated Slack messages don’t reliably render “Slack-style” bullets created with asterisks. Instead, mimic bullets using the bullet symbol () followed by a space.

• bulleted list
• another item
• one more
Tip: Keep list items short—Slack messages are easiest to scan when each line is one clear idea.



 

Links

Slack will automatically hyperlink URLs without special formatting.

To show link text instead of the raw URL, use:

<https://example.com|Link text>

Tip: Link text can include spaces.



 

New lines

No special syntax is required. Press Return / Enter to add a new line.

Note: Only a single blank line between lines of text is supported. Two or more consecutive blank lines may not render as expected.



 

Emoji

Wrap the emoji name in colons (:).

:heart_eyes:



 

Mentions and notifications

  • User mention: <@SLACK_MEMBER_ID>
  • “Everyone” notification: <!everyone>
  • “Here” notification: <!here>
  • User group notification: <!subteam^USER_GROUP_ID>
<@UG1234567>
<!everyone>
<!here>
<!subteam^abcde123456>
Note: Your workspace may disable notifications or usage of @here / @everyone. Contact your Slack administrator to verify if notifications are enabled.



 

Was this article helpful?
0 out of 0 found this helpful

Articles in this section