Back to cheat sheet

Escaping

Put a backslash (\) in front of characters like *, _ and # to show them as text instead of syntax.

Markdown
\*not italic\*

\# not a heading
Preview

*not italic*

# not a heading

HTML output
<p>*not italic*</p>
<p># not a heading</p>

Tip — Inside a code block you do not need to escape anything.

Open in converter