Backslash Escapes and Entities in Markdown

From the Markdown cheat sheet ยท Escaping and Entities ยท verified Aug 2026

Backslash Escapes and Entities

Escape punctuation or use an HTML entity.

markdown
\*not italic\*
\# not a heading
๐Ÿ“Œ Backslashes escape ASCII punctuation
๐Ÿ” Entity references are decoded before rendering
๐Ÿ’ก Use code spans for longer literal syntax
โš ๏ธ Backslashes do not escape arbitrary letters
escapingentitiespunctuation

Continue with Markdown

Save the full cheat sheet or work through every related task.

Back to the full Markdown cheat sheet