Graphical aspect may vary depending on your choices in following the instructions below, but the end result should look something like this:
Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...
What this guide covers:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static final String ANSI_RESET = "\u001B[0m"; | |
| public static final String ANSI_BLACK = "\u001B[30m"; | |
| public static final String ANSI_RED = "\u001B[31m"; | |
| public static final String ANSI_GREEN = "\u001B[32m"; | |
| public static final String ANSI_LIGHT_YELLOW = "\u001B[93m"; | |
| public static final String ANSI_YELLOW = "\u001B[33m"; | |
| public static final String ANSI_YELLOW_BACKGROUND = "\u001B[43m"; | |
| public static final String ANSI_BLUE = "\u001B[34m"; | |
| public static final String ANSI_PURPLE = "\u001B[35m"; | |
| public static final String ANSI_CYAN = "\u001B[36m"; |
這篇文章旨在作為快速參考與展示。要更多完整的資訊,請見 John Gruber 原本的規格與 Github 偏好的 Markdown(Github-flavored Markdown,簡寫為GFM)資訊頁。
如果你正在找 Markdown Here 的小抄(Cheatsheet),這裡也有一篇。你也可以看看更多 Markdown 的工具。
譯註:可以參考這份中文版文件,有更詳盡的 Markdown 語法說明;如果需要可以練習的線上編輯器,可以試試看HackMD。
