![]() ![]() To italicize the middle of a word for emphasis, add one asterisk without spaces around the letters. To italicize text, add one asterisk or underscore before and after a word or phrase. For compatibility, use asterisks to bold the middle of a word for emphasis. Markdown applications don’t agree on how to handle underscores in the middle of a word. To bold the middle of a word for emphasis, add two asterisks without spaces around the letters. To bold text, add two asterisks or underscores before and after a word or phrase. You can add emphasis by making text bold or italic. And at least a couple lightweight markup languages don’t require anything at the end of the line - just type return and they’ll create a line break. CommonMark and a few other lightweight markup languages let you type a backslash ( \) at the end of the line, but not all Markdown applications support this, so it isn’t a great option from a compatibility perspective. There are two other options I don’t recommend using. If your Markdown application supports HTML, you can use the HTML tag.įor compatibility, use trailing white space or the HTML tag at the end of the line. For this reason, you may want to use something other than trailing whitespace for line breaks. It’s hard to see trailing whitespace in an editor, and many people accidentally or intentionally put two spaces after every sentence. ![]() You can use two or more spaces (commonly referred to as “trailing whitespace”) for line breaks in nearly every Markdown application, but it’s controversial. To create a line break or new line ( ), end a line with two or more spaces, and then type return. Note: If you need to indent paragraphs in the output, see the section on how to indent (tab).ĭon't put tabs or spaces in front of your paragraphs.ĭon't add tabs or spaces in front of paragraphs. Unless the paragraph is in a list, don’t indent paragraphs with spaces or tabs. I think I'll use it to format all of my documents from now on. To create paragraphs, use a blank line to separate one or more lines of text. Without blank lines, this might not look right. You should also put blank lines before and after a heading for compatibility. ![]() For compatibility, always put a space between the number signs and the heading name. Markdown applications don’t agree on how to handle a missing space between the number signs ( #) and the heading name. MarkdownĪlternatively, on the line below the text, add any number of = characters for heading level 1 or - characters for heading level 2. For example, to create a heading level three ( ), use three number signs (e.g., # My Header). The number of number signs you use should correspond to the heading level. To create a heading, add number signs ( #) in front of a word or phrase. There are minor variations and discrepancies between Markdown processors - those are noted inline wherever possible. If you have any questions or want to get in contact with me, you can add Matthew#2334 on Discord or join my support server.Nearly all Markdown applications support the basic syntax outlined in the original Markdown design document. Get out there and highlight your statements! AcknowledgementsĪ special thanks to Frosty#9449 for their help in making this guide. Note that you won't be able to view syntax highlighting on the mobile app.Īnd you get the idea! Now you're a Discord text markdown expert. Each different language has its own approach to highlight-able syntax. There are many different languages in place of Markdown that Discord's syntax highlighting support. If you really want to spruce up your code blocks, you can denote a specific language for syntax highlighting, by typing the name of the language you want the code block to expect right after the first three backticks beginning your code block. You can also use three backticks (```) to create multiline code blocks, like this beautifully written haiku. You can make your own code blocks by wrapping your text in backticks (`) All text from > until the end of the message will be included in the quote.ĭiscord also supports code blocks as well. > at the beginning of a line of text, creates a multi-line block quote. > at the beginning of a line of text, creates a single-line block quote. The syntax to use Block Quotes is > or > followed by a space. You'll see those asterisks as you'd like! Just keep in mind, it doesn't work in messages with edits or underscores. Underline bold italics _***underline bold italics***_ĭon't want to use markdown? You can slap a backslash in front of your statement, or put your message in a code block, and it'll escape the markdown formatting. Here's how to do it! Just add a few characters before
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |