When you write markdown, you often write code blocks. Like below;
a = 1 b = 2 c = a + b
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 a = 1 b = 2 c = a + b ```
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 a = 1 b = 2 c = a + b ``` ````
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 a = 1 b = 2 c = a + b ``` ```` `````
If you're interested in more markdown tricks then you may also enjoy our readme course.
Back to TILs.