How to Format Code on Slack on PC or Mac
How to Format Code on Slack on PC or Mac
This wikiHow teaches you how to share code with other Slack users in an easy-to-read format.
Steps

Open Slack. It’s in the Windows Start menu on a PC, or the Applications folder on a Mac. You can also sign in to your Slack team at https://slack.com/signin.

Click the channel where you want to post code. Your channels appear along the left side of Slack.

Click #Message . It’s at the bottom of the screen.

Type any text you want to include with your code. This text will appear before the code—you may want to write a description or mention another user.

Type ``` (three backticks). The backtick key is near the top-left corner of the keyboard. To properly format code, you’ll need to sandwich it between two sets of three backticks.

Type or paste the code.

Type ``` after the code.

Press ↵ Enter or ⏎ Return. The code will now appear in the channel in a fixed-width font that’s easy to read.

What's your reaction?

Comments

https://umorina.info/assets/images/user-avatar-s.jpg

0 comment

Write the first comment for this!