Slack snippets
• 55 words • 1 min
⚠️ This post is over one year old. It may no longer be up to date or relevant. Opinions may have changed.
In order to post a large text file to Slack, use a snippet. Snippet is short for “code snippet”.
Type in /snippet, then complete the wizard.
You can choose the language – typically YAML, JSON or Shell – for syntax highlighting.
This is better than dumping the entire source within a pair of three backticks.