

#Discord chat formattting and text colol code#
What Is Syntax Highlighting In Code Blocks On Discord? One thing that really sets multi-line code blocks apart from other markdown is that they support syntax highlighting. It will create a large, dark box around your text, format it in a monospaced font, and preserve all indentations. To create a multi-line code block, surround your text in triple backticks (“`like this“`).

Multi-line code blocks allow users to share more complex code that spans across several lines. A single-line code block adds a dark background to white, monospaced text, making it easy for Discord users to share brief snippets of code is a readable format. However, along with single-line code blocks, Discord also supports multi-line code blocks. If you’re not sure what markdown is, some of the most commonly-used tricks are to surround your text in single asterisks (*like this*) to italicize text or double asterisks (**like this**) to bold text.ĭiscord supports markdown for these, along with underlines (_like this_), strikethroughs (~~like this~~), spoiler tags (||like this||), quotes (> like this), and single-line code blocks (`like this`). What Are Code Blocks On Discord?Ĭode blocks, sometimes referred to as code boxes or simply boxes, are a form of markdown supported by Discord’s rendering engine.

Confused? In this article, let’s talk about code blocks and how you can use them to create Discord color messages.
