And how to render them.
When you write markdown, you often write code blocks. Like below;
= 1 a = 2 b = a + bc
But what if you want to show the markdown that you need to render such codeblock? You might go for something like;
# Hello This is text ```python = 1 a = 2 b = a + b c ```
You may wonder here though, how did I get the triple backticks to render? Aren’t these backticks going to stop a codeblock?! It turns out, you can use quadruple backticks to display triple backticks in a fenced code block.
Here’s the code I used to make the markdown block listed above.
````md # Hello This is text ```python = 1 a = 2 b = a + b c ``` ````
But how did I should the previous codeblock? How can I show quadruple backticks?!
You guessed it, by using five backticks.
`````md ````md # Hello This is text ```python = 1 a = 2 b = a + b c ``` ```` `````