How To Escape Backtick And Triple Backtick (Code Block) In Markdown

Dec 19, 2017

This is a backtick or code block.

To escape and show backtick(`) use backslash backtick (\`).

\`double backtick\` will be shown as `double backtick`

To show backtick in code block

`` `backtick` `` will be shown as `backtick`

Below is a code block using tripble backtick (```)

Code Block
`Code`

To escape and show triple backtick(```) within code block, use (````) to replace (```).

Single backtick(`) works within tripple backtick code block without needing special treatment.

````
```
Code Block
```

`Code`
````

will be shown as

```
Code Block
```

`Code`

❤️ Is this article helpful?

Buy me a coffee ☕ or support my work via PayPal to keep this space 🖖 and ad-free.

Do send some 💖 to @d_luaz or share this article.

✨ By Desmond Lua

A dream boy who enjoys making apps, travelling and making youtube videos. Follow me on @d_luaz

👶 Apps I built

Travelopy - discover travel places in Malaysia, Singapore, Taiwan, Japan.