Advertisement
Guest User

Untitled

a guest
Aug 17th, 2019
1,140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. Discord Colored Text with Code Markup Guide
  2. Since discord uses Highlight.js and the Solarized Dark Theme, there are 8 colors possible to use by code markup.
  3.  
  4. Paste this for an example of all the colors.
  5.  
  6. Non-escaped:
  7.  
  8. Aka some words might not be the right color (image)
  9.  
  10. (Replace "NoKeyWordsHere" with your text)
  11.  
  12. Default: #839496
  13. ```
  14. NoKeyWordsHere
  15. ```
  16.  
  17. Quote: #586e75
  18. ```brainfuck
  19. NoKeyWordsHere
  20. ```
  21.  
  22. Solarized Green: #859900
  23. ```CSS
  24. NoKeyWordsHere
  25. ```
  26.  
  27. Solarized Cyan: #2aa198
  28. ```yaml
  29. NoKeyWordsHere
  30. ```
  31.  
  32. Solarized Blue: #268bd2
  33. ```md
  34. NoKeyWordsHere
  35. ```
  36.  
  37. Solarized Yellow: #b58900
  38. ```fix
  39. NoKeyWordsHere
  40. ```
  41.  
  42. Solarized Orange: #cb4b16
  43. ```glsl
  44. NoKeyWordsHere
  45. ```
  46.  
  47. Solarized Red: #dc322f
  48. ```diff
  49. -NoKeyWordsHere
  50. ```
  51. And here is the escaped version, but symbols will still mess it up. (image)
  52.  
  53. (Replace "This is a for statement" with your text)
  54.  
  55. And here is the escaped
  56.  
  57. Default: #839496
  58. ```
  59. This is a for statement
  60. ```
  61.  
  62. Quote: #586e75
  63. ```bash
  64. #This is a for statement
  65. ```
  66.  
  67. Solarized Green: #859900
  68. ```diff
  69. + This is a for statement
  70. ```
  71. //Second Way to do it
  72. ```diff
  73. ! This is a for statement
  74. ```
  75.  
  76. Solarized Cyan: #2aa198
  77. ```cs
  78. "This is a for statement"
  79. ```
  80. ```cs
  81. 'This is a for statement'
  82. ```
  83.  
  84. Solarized Blue: #268bd2
  85. ```ini
  86. [This is a for statement]
  87. ```
  88. //Second Way to do it
  89. ```asciidoc
  90. = This is a for statement =
  91. ```
  92.  
  93. Solarized Yellow: #b58900
  94. ```autohotkey
  95. %This is a for statement%
  96. ```
  97.  
  98. Solarized Orange: #cb4b16
  99. ```css
  100. [This is a for statement]
  101. ```
  102.  
  103. Solarized Red: #dc322f
  104. ```diff
  105. - This is a for statement
  106. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement