Theres text chat, but there are no built-in color commands and, at first glance, no way to do anything fancy with your text.
![]() Blackout Text Discord Code In TheTechJunkies Fast Answer Add the recommended code in the CSS box.Blackout Text Discord How To Get BoldRead the article for more information In this article, Im going to show you how to get bold colors in your Discord text chats.How it Works Quick Links How it Works Using the Back Quote Symbol Write the first line of code Type the second line Type your third line Inputting Your Text Your Color Options Plain grey (but in a box) Green (sort of) Cyan Yellow Orange Red Yellowish Advanced Techniques Other Things to Try: Discord Bots Other Text Customization Options The key to this method of adding color to text lies in the fact that Discord uses Javascript to build its interfaces, along with a theme known as Solarized Dark and a library called highlight.js.
![]() ![]() Blackout Text Discord Series Of RatherThat is, when you are logged in to your Discord server, the page you see is being rendered by a series of rather sophisticated Javascript programs, including highlight.js. Although the native Discord user interface provides no support for colorizing your text, the underlying Javascript engine, running the highlight.js script, does. By inserting what amounts to snippets of code into your text chat, you can change the color of the words printed out in everyones text chat window. The basic concept to understand is that in order to change the color of a given piece of text, you need to encapsulate that text in a code block. This is a three-line block of text with your text as the middle block. Using the Back Quote Symbol To color code any text in Discord youll need to use the backquote symbol located in the upper left-hand corner of your keyboard. It accompanies the Tilde symbol: Write the first line of code The first line of the code block should be three backquote symbols (), followed by the code phrase that tells the Solarized Dark theme what color to display. It should look like this: Note: CSS may change to something like Tex or another phrase depending on the output you desire. Type the second line The second line needs to be your text typed out as you normally would. Clicking the Enter button alone will send the message so youll have to hold Shift with it. Type your third line The third line of the code block should be three more backquotes: (). This rarely changes regardless of what outcome youre expecting and it should look like this: Because we used CSS your text should appear like this: Inputting Your Text There are two basic ways to enter text this way. The first way is to have a text file on your computer with the various codes for the different text colors that you can access in this fashion, and cut and paste the segments you want to use. Another way is to directly enter the code block into the Discord chat engine line by line. Type one line, then hit shift-Enter to create another line without actually sending the message to Discord. Then type the third line and hit Enter, and the entire block will be sent at once and will display your text. One, you have to do it for every line of text you want to colorize you cant just turn color on or off. Your Color Options The highlight.js codes give access to seven new colors in addition to the default grey. Once you get these down, the markdown codes begin to make a lot of sense, dont be afraid to play around and try to find new ones. The reason all of this works (sort of) is that these formats are intended for displaying code blocks when a developer is writing a program. The first text after the tells highlight.js which scripting language it should be formatting, and there are actually some explicit ways to cast colors directly in a line.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |