Try it Here!
Markdown is plain text with super-powers. It lets you jot notes, write docs, craft blog posts, even format PDFs - all without leaving the comfort of your favourite text editor.
Markdown’s magic is that every one of those tricks is still perfectly legible in raw text.
Wonder | Tiny snippet | What happens |
---|---|---|
Task lists | - [x] done - [ ] to-do |
Interactive check-boxes in GitHub issues. |
Syntax-highlight | ```python |
Colours like an IDE! |
Tables | | foo | bar | |----|----| |
Nicely aligned grids. |
Collapsible blocks | <details><summary>peek</summary>spoiler!</details> |
Click to reveal secrets. |
Emoji | I ❤️ Markdown :tada: |
Turns into 😍 🎉. |
Tip: Try every sample in a
.md
file on GitHub and hit Preview.
# H1
## H2
### H3
Rendered ⇒
*italic* _italic_
**bold** __bold__
~~strike~~
italic bold strike
- Item A
- Sub-item
* Asterisks work too
Item A
1. First
2. Second
[visible text](https://example.com)
<https://example.com> <!-- autolink -->
visible text
https://example.com

`code`
→ code
```js function greet() { console.log("Hello!"); } ```
> One level
>> Nested wisdom
One level
Nested wisdom
---
Rendered ⇒
| Col A | Col B |
|-------|-------|
| 1 | 2 |
| 3 | 4 |
Col A | Col B |
---|---|
1 | 2 |
3 | 4 |
- [ ] Walk dog
- [x] Write guide
:rocket: :sparkles: :100:
🚀 ✨ 💯
~~obsolete~~ now shiny
obsolete now shiny
<details>
<summary>Click me</summary>
Surprise! 🎈
</details>
Need a literal *
? Use backslash:
\*not italic\*
*not italic*
Markdown is handy.[^1]
[^1]: And footnotes are too!
Markdown is handy.[1]
You now wield the essentials of GitHub-flavoured Markdown. Keep this cheat-sheet nearby, and soon you’ll be dashing off beautifully formatted docs at lightspeed. Happy writing!
Explore More🗺️
To truly master Markdown, you should combine it with features from some foundational languages like HTML and CSS, and utilize additional extensions. See Charles' cool demo for some additional features:
Notice those features may not be ubiquitously supported depending on the renderer.
References
And footnotes are too! ↩︎