How to Format Code in Slack on PC or Mac: 8 Steps

Table of contents:

How to Format Code in Slack on PC or Mac: 8 Steps
How to Format Code in Slack on PC or Mac: 8 Steps

Video: How to Format Code in Slack on PC or Mac: 8 Steps

Video: How to Format Code in Slack on PC or Mac: 8 Steps
Video: Best uTorrent Settings to Speed Up Downloads in 2022 2024, November
Anonim

This wikiHow teaches you to share code with other Slack users in an easy-to-read format.

Step

Format Code on Slack on PC or Mac Step 1
Format Code on Slack on PC or Mac Step 1

Step 1. Open Slack

The program is in the menu

Windowsstart
Windowsstart

on a PC, or the Applications folder on a Mac. You can also sign in to your Slack team at

Format Code on Slack on PC or Mac Step 2
Format Code on Slack on PC or Mac Step 2

Step 2. Click the channel where you want to send the code

Your channel appears on the left side of Slack.

Format Code on Slack on PC or Mac Step 3
Format Code on Slack on PC or Mac Step 3

Step 3. Click #Message

This button is at the bottom of the screen.

Format Code on Slack on PC or Mac Step 4
Format Code on Slack on PC or Mac Step 4

Step 4. Write down any text you want to include with the code

This text will appear before the code-you may need to write a description or mention other users.

Format Code on Slack on PC or Mac Step 5
Format Code on Slack on PC or Mac Step 5

Step 5. Type in ``` (three backtick marks)

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

Format Code on Slack on PC or Mac Step 6
Format Code on Slack on PC or Mac Step 6

Step 6. Type or paste the code

Format Code on Slack on PC or Mac Step 7
Format Code on Slack on PC or Mac Step 7

Step 7. Type ``` after the code

Format Code on Slack on PC or Mac Step 8
Format Code on Slack on PC or Mac Step 8

Step 8. Press Enter or Returns.

The code will now appear in the channel in an easy-to-read equal-width font.

Recommended: