How to Format a Code on Slack on a PC or Mac: 8 Steps (with Pictures)

Table of contents:

How to Format a Code on Slack on a PC or Mac: 8 Steps (with Pictures)
How to Format a Code on Slack on a PC or Mac: 8 Steps (with Pictures)
Anonim

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

Steps

Format Code on Slack on PC or Mac Step 1

Step #1. Open Slack

You will find this in the

Windowsstart

menu on a PC or in the Applications folder on a Mac. You can also sign up at

Format Code on Slack on PC or Mac Step 2

Step 2. Click on the channel where you want to post the code

Your channels will appear on the left side of Slack.

Format Code on Slack on PC or Mac Step 3

Step #3. Click on #Message

You will find this at the bottom of the screen.

Format Code on Slack on PC or Mac Step 4

Step 4. Type any text you want to add to your code

This text appears before the code. You may want to write a description or mention another user.

Format Code on Slack on PC or Mac Step 5

Step 5. Type ``` (three quotes)

The quotation mark key is located in the top left corner of the keyboard. To format the code correctly, put it between two sets of three quotes.

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

Step 7. Type ``` after the code

Format Code on Slack on PC or Mac Step 8

Step 8. Press ↵ Enter or ⏎ Return.

The code is now displayed in the channel in a fixed width font that is easy to read.

Popular by topic