Markdown Escaping Characters Syntax
To display a literal character that has special meaning in Markdown syntax, you need to add a backslash (\\
) in front of it. This is known as "escaping," and it tells the Markdown parser that the character should be displayed as is, rather than as a syntax token.
\* Without this backslash, this sentence would be in italics.
The rendered output looks like this:
* Without this backslash, this sentence would be in italics.
Characters You Can Escape
Here is a list of special characters that you can escape:
Character | Name |
---|---|
\ | Backslash |
` | Backtick |
* | Asterisk |
_ | Underscore |
{} | Curly Braces |
[] | Square Brackets |
() | Parentheses |
# | Hash |
+ | Plus Sign |
- | Hyphen |
. | Period |
! | Exclamation Mark |