The Complete Markdown Cheat Sheet (With Copy-Paste Examples)
Par Salty Deprecated Software Engineer
Cet article a été généré avec l'aide de l'IA et revu par notre équipe pour en garantir l'exactitude et la qualité. Toutes les informations techniques et exemples ont été vérifiés.
Markdown is the formatting language behind GitHub READMEs, Notion pages, Slack messages, Discord, Reddit, and most documentation sites. It's also what ChatGPT and Claude output by default. If you work in tech in 2026, you use Markdown whether you know it or not.
This cheat sheet covers everything you need. Bookmark it.
Headings
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
More #s = smaller heading. Use H1 for titles, H2 for sections, H3 for subsections.
Text Formatting
**bold text**
*italic text*
***bold and italic***
~~strikethrough~~
`inline code`
> This is a blockquote
Links & Images
[Link text](https://example.com)

[Link with title](https://example.com "Hover text")
The ! before brackets makes it an image instead of a link.
Lists
- Item one
- Item two
- Nested item
1. First
2. Second
3. Third
- [x] Completed task
- [ ] Pending task
Code Blocks
Use `backticks` for inline code
```javascript
function hello() {
console.log("Hello!");
}
```
Replace "javascript" with python, bash, sql, css, etc. for proper highlighting.
Tables
| Column 1 | Column 2 | Column 3 |
|----------|----------|----------|
| Row 1 | Data | Data |
| Row 2 | Data | Data |
| Left | Center | Right |
|:-----|:------:|------:|
Colons in the separator row control text alignment.
Horizontal Rules, Footnotes & More
---
Here is a statement[^1].
[^1]: This is the footnote text.
<details>
<summary>Click to expand</summary>
Hidden content here.
</details>
Where Markdown Works
| Platform | Supports |
|---|---|
| GitHub | Full GFM (tables, task lists, footnotes) |
| Notion | Most syntax (paste Markdown, auto-converts) |
| Slack | Partial (bold, italic, code, links, lists) |
| Discord | Most syntax (no tables) |
| Full Markdown in old editor | |
| ChatGPT/Claude | Full — all output is Markdown |
Need to format text quickly? Try our free Text Tools Suite for case conversion, word count, and more.
Écrit sous le nom de plume éditorial de The IT Hustle : plus de 25 ans comme technicien laptop, administrateur système, ingénieur stockage et ingénieur logiciel, aujourd’hui aux commandes d’agents IA. Chaque article est relu par un humain avant publication ; voir la charte éditoriale.
Reste dans la boucle
Sois le premier informé des nouveaux outils, articles et mises à jour. Sans spam.
Générez vos propres prompts anti-hallucination
Notre AI Prompt Engine utilise une technologie propriétaire pour générer des prompts avec vérification intégrée et tests de contradiction.
Essayer 3 générations gratuites →