Markdown Coach

Escaping Characters in Markdown with a Backslash

Sometimes you want a * or # to show as itself instead of formatting text. Put a backslash \ in front of the symbol. The backslash key is above Enter.

The rule

Put a backslash \ in front of a Markdown symbol to show the symbol itself instead of formatting. The backslash key is above Enter.

You type

\*Not italic\*

You get

*Not italic*

Try it yourself

Show # Not a heading as plain text, with the # visible.

Live preview

More examples

You type

\*Not italic\*

You get

*Not italic*

Shows the stars instead of italic text.

You type

\# Not a heading

1986\. A great year.

You get

# Not a heading

1986. A great year.

A # at the start of a line, and a number with a full stop that is not a list.

Common mistakes

You type

*Not italic*

Shows as

Not italic

Without backslashes, the stars make italic text.

You type

/*Not italic/*

Shows as

/Not italic/

That is a forward slash. Escaping needs the backslash \.

Where it works

Everywhere. You can escape \ ` * _ { } [ ] ( ) # + - . ! and |.

Keep it, not just learn it

The full course has 22 skills on five islands, short Missions that check your answers, and reviews a few days later so it sticks. Free, no sign-up.

Practise this in the course