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

December 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`
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.