This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis
After using Markdown almost every day for ten years now (this blog is Markdown-based), today I learned not one, not two, but three new things about it.
Tierney shared on Twitter that two backticks are valid Markdown. Kevin joined the party and told everyone that four backticks are also valid. 😲
That was enough, and I read the GitHub Markdown docs looking for new things, only to discover that three stars are also valid Markdown syntax. 🤯
I also learned that light/dark mode images in GitHub Readmes are a thing now.
Here's an example for "cursive and(!) bold" and an inline code quote:
This text is ***cursive and bold***. Here are escaped backticks: `` `foo` ``.
Which renders as follows:
This text is cursive and bold. Here are escaped backticks: `foo`
.
And if you want to include backticks in a code block, four backticks work, too.
```
Look! There are three back ticks in this code block!
```
I have no idea how I never came across these!
Markdown rendering always depends on your rendering library. Ensure your renderer supports all the advanced Markdown features before going all-in with them.
Reply to Stefan
This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis

Stefan Judis | Sciencx (2021-12-02T23:00:00+00:00) Three Markdown tricks I just learned (#blogPost). Retrieved from https://www.scien.cx/2021/12/02/three-markdown-tricks-i-just-learned-blogpost/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.