How to Tell if a Diamond is Real
Q&A for How to Format Text as Code in Discord
Coming soon
Search
-
QuestionMy message shows as a code block in Discord, but how do I add a straight colored line beside the block?Community AnswerUnfortunately you can't color single-line code blocks in Discord. Using a block code should work, however.
-
QuestionWhen I use text highlighting, can I add code using the things?Community AnswerThat isn't possible unless you use two code boxes with two color codes.
-
QuestionHow do I color text on discord?Community AnswerYou can format Discord code blocks to show colored text, you can do ```diff -(text here) ``` to make text red.
-
QuestionIs there a way to send embed messages?BruceCommunity AnswerRight now, only Discord bots can send embeds. It isn't possible for users to send embeds.
-
QuestionI put a full code for a webpage (HTML) and some stuff is blue, some is yellow while some is red. Why does that happen? Is it pointing out mistakes and such?Community AnswerThis is syntax highlighting. The different colors symbolise different parts of the syntax such as tags, data types, attributes etc. Examples can be found on the highlight.js demo site.
-
QuestionCan you actually code anything with this feature? Or is it just to share the lines of code with people?DarkWolf2244Community AnswerThe feature is primarily for syntax highlighting. Discord is a chat application, not a code editor or IDE. So it's just to share pretty code with others.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit