Most Discord users type and send their messages without knowing much about coding. After all, you don't need fancy coding to talk to someone else. There are, however, a few benefits to learning the basic codes to make your messages stand out.
Have you ever wondered how others send messages with fancy colored backgrounds? These unusual messages and quotes are possible using code blocks.
Code blocks are codes that make your posts stand out by changing the background. With Markdown, you can go one step further and make formatting changes through simple code usages. However, changing the background is usually enough to get readers to sit up and take notice.
Keep reading to find out how to make your posts stand out from the crowd using code blocks.
A code block is a section of text in Discord that has a different color. The other color helps the text appear more obvious to all readers and also for aesthetic purposes. A code changes the background surrounding the text, even in the same message.
In other words, text not affected by a code block will appear normal, but text to which you apply a code block will appear different. These code blocks also leave the formatting alone, keeping everything in the same default font.
Code blocks are created by entering backticks at the beginning and end of messages. The '`' button is just below the Esc key and the '1' key is to the left.
If your code block only contains one line of text, you just have to type a backtick at the beginning and end of the text, like this:
« Falcon Punch ! »
Code blocks with more than one line of text require triple backticks. This is what a multi-line code block looks like:
There are no spaces between triple backticks, and for the first triple backticks in multi-line code blocks, start a new line before typing your message. The "Hello" above will not appear if it is on the same line as the first triple backticks.
It's easy to confuse "Code Blocks" with "Markdown." While both can change how your text appears in Discord chat windows, the former changes the background while the latter deals with text formatting. Now let's see how you can use code blocks on different devices.
Whether you use the Discord client installed on your Windows PC or a browser, the use of the code block is the same. We will first focus on the basic code blocks in these instructions.
- Launch Discord on your PC.
- Go to any server.
- Choose a text channel where you have message permissions.
- Move your mouse over the text box.
- Enter a backtick.
- Type the content of your message.
- End the message with a backtick.
- Press Enter to send the message.
- If you format the code block correctly, you will notice that the text has a different background color than the other messages.
- Repeat if necessary.
If you want to enter multi-line blocks of code, these steps are for you.
- Go to Discord on your PC.
- Head to a server that allows you to type.
- Choose a text channel.
- Make sure you can type in the text box.
- Type three backticks with no spaces between them.
- Press Shift + Enter to start a new line.
- Type multiple lines of text.
- At the end of the last line, type three more backticks.
- Send the code block with the Enter key.
- If you type everything correctly, you will see a multi-line block of code.
- Repeat if desired.
These steps also work on Macs since Discord for macOS is pretty much the same as it is with PC users, so following the above two sets of instructions will also do the trick.
Discord on iPhone also works with code blocks. This way you don't have to switch devices when you want to send a message with a code to other users.
However, most keyboards on mobile devices do not display the backtick without digging. You'll need to find the backtick on your symbol keyboard, which only takes a few taps. Once you get familiar with its location, typing blocks of code will become second nature on iPhones.
Here's how to use Code Blocks on Discord for iPhone:
- Open your Discord app on your iPhone.
- Tap the icon for a server that allows typing.
- Go to any channel.
- Tap the text box to show your keyboard.
- Press the symbols button, usually on the left side of the keyboard.
- Find the backtick key and press it once.
- Type a message.
- Finish it off with another backtick.
- Send your message to the channel.
- The code block will appear if you typed everything correctly.
- Repeat if necessary.
Multi-line code blocks also work on iPhone. Here's how to use them:
- Launch your Discord app for iPhone.
- Go to a server.
- Open any text channel you can type.
- Bring up your keyboard by tapping the text box.
- Find and enter three backticks.
- Start a new line by pressing the button below the backspace button.
- Enter multiple lines of text.
- Finish with three more backticks just after the last line.
- Send the message to the channel.
- You will see a multi-line block of code if your backticks are formatted appropriately.
- Repeat as needed.
Some iPhone users may have backticks in different places if they use third-party keyboards. If your backticks are already showing, you're in luck and you don't have to find them. These instructions were for the default keyboard layouts.
Next, let's talk about performing the same task but on an Android device.
Android phones and tablets can support Discord, and there are even more third-party keyboard apps available. Some may display backticks directly on the first keyboard screen, depending on your settings.
Code blocks also work in direct messages, which means you can emphasize messages you send outside of a public chat.
Here are the steps to use Code Blocks on Android devices:
- Launch Discord for Android.
- Access one of your servers.
- Head to a text channel.
- Tap the text box to show your keyboard.
- Enter a single backtick.
- Type your message and end it with another backtick.
- Send your message.
- Proper formatting will result in a perfect block of code.
For multi-line code blocks, you'll need to follow these other instructions:
- Open the Discord app on your Android phone or tablet.
- Tap and open a server.
- Go to a text channel that you can type.
- Tap the text box and get ready to type.
- Type three backticks.
- Start a new line and type several lines of text.
- Finish with three backticks just after the last line.
- Send the text message to the channel and the message with a new background will appear.
- You can repeat the process as many times as you want.
If you want your text messages to stand out on Discord, code blocks are one of the best ways to do it. They're easy to use, and you'll find yourself typing quickly with enough practice. Just a few more keystrokes, and suddenly you have a message that adds emphasis with no extra effort.
Have you seen any friends using code blocks before reading this? Do you find the various Discord text formatting tips interesting? Let us know what you think in the comments section below.