Posting syntax-highlighted code snippets in your Slack messages (without 'snippets') 0 ▲ Jamie Tanna 53 minutes ago · Tech · hide As I've written before, I quite like nicely rendered Slack mesages, which include full syntax highlighting of code snippets. There was a discussion on reddit last night which brought this up again, which made me think about splitting this specific knowledge into a separate post, so it's more discoverable. As I was preparing this, I found that Slack already supports posting syntax highlighted code snippets, but it's not super obvious 👀 To be clear, I'm not talking about using a "snippet", but the result of this gives you the syntax highlighted code snippet as a fully inline part of your message. For instance, we want this sort of output: I'd previously found that you needed to use the Slack Block Kit to get this rich rendering, but as I was looking at it this morning, I found that actually you don't even need that - Slack (at least as of client (4.51.x) supports it natively! To get the above text, you can take this input: Via https://learnxinyminutes.com/typescript: ```typescript //… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town