The Dead Simple Markdown Guide to Escaping Characters

To display special characters in Markdown, use a backslash (\) before the character. This technique helps you show symbols that might otherwise be interpreted as formatting commands, such as asterisks or brackets.


This content originally appeared on HackerNoon and was authored by Typesetting

Escaping Characters

To display a literal character that would otherwise be used to format text in a Markdown document, add a backslash (\) in front of the character.

\

\* Without the backslash, this would be a bullet in an unordered list.

\ The rendered output looks like this:

\ * Without the backslash, this would be a bullet in an unordered list.

Characters You Can Escape

You can use a backslash to escape the following characters.

\

| Character | Name | |----|----| | \ | backslash | | ` | backtick (see also escaping backticks in code) | | * | asterisk | | _ | underscore | | { } | curly braces | | [ ] | brackets | | < > | angle brackets | | ( ) | parentheses | | # | pound sign | | + | plus sign | | - | minus sign (hyphen) | | . | dot | | ! | exclamation mark | | | | pipe (see also escaping pipe in tables) |

\

:::info This guide is a Matt Cone project available on Markdown Guide under the CC BY-SA 4.0 license.

:::

\


This content originally appeared on HackerNoon and was authored by Typesetting


Print Share Comment Cite Upload Translate Updates
APA

Typesetting | Sciencx (2024-08-20T15:50:00+00:00) The Dead Simple Markdown Guide to Escaping Characters. Retrieved from https://www.scien.cx/2024/08/20/the-dead-simple-markdown-guide-to-escaping-characters/

MLA
" » The Dead Simple Markdown Guide to Escaping Characters." Typesetting | Sciencx - Tuesday August 20, 2024, https://www.scien.cx/2024/08/20/the-dead-simple-markdown-guide-to-escaping-characters/
HARVARD
Typesetting | Sciencx Tuesday August 20, 2024 » The Dead Simple Markdown Guide to Escaping Characters., viewed ,<https://www.scien.cx/2024/08/20/the-dead-simple-markdown-guide-to-escaping-characters/>
VANCOUVER
Typesetting | Sciencx - » The Dead Simple Markdown Guide to Escaping Characters. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/08/20/the-dead-simple-markdown-guide-to-escaping-characters/
CHICAGO
" » The Dead Simple Markdown Guide to Escaping Characters." Typesetting | Sciencx - Accessed . https://www.scien.cx/2024/08/20/the-dead-simple-markdown-guide-to-escaping-characters/
IEEE
" » The Dead Simple Markdown Guide to Escaping Characters." Typesetting | Sciencx [Online]. Available: https://www.scien.cx/2024/08/20/the-dead-simple-markdown-guide-to-escaping-characters/. [Accessed: ]
rf:citation
» The Dead Simple Markdown Guide to Escaping Characters | Typesetting | Sciencx | https://www.scien.cx/2024/08/20/the-dead-simple-markdown-guide-to-escaping-characters/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.