📖 Complete Markdown Reference
Everything you need to know about Markdown syntax
All Headers
# H1 - Main Title
## H2 - Section Header
### H3 - Subsection
#### H4 - Sub-subsection
##### H5 - Minor heading
###### H6 - Smallest heading
Text Formatting
**bold text** or __bold text__
*italic text* or _italic text_
***bold and italic*** or ___bold and italic___
~~strikethrough text~~
`inline code` with backticks
You can combine: **bold with *italic* inside**
Lists
- Item 1 (can also use * or +)
- Item 2
- Nested item (2-4 spaces)
- Double nested item
1. First item
2. Second item
1. Nested numbered item
2. Another nested item
- [x] Completed task
- [ ] Incomplete task
- [ ] Another task to do
Links & Images
[Link text](https://example.com)
[Link with title](https://example.com "This is a title")
[Link text][reference-id]
[Another link][1]
[reference-id]: https://example.com
[1]: https://another-example.com


![Alt text][image-ref]
[image-ref]: image.jpg "Image title"
Code Blocks
```
This is a basic code block
with multiple lines
```
```javascript
function greet(name) {
console.log(`Hello, ${name}!`);
}
```
```python
def calculate_area(radius):
return 3.14159 * radius ** 2
```
```css
.button {
background-color: #007bff;
color: white;
padding: 10px 20px;
}
```
Tables
| Column 1 | Column 2 | Column 3 |
|----------|----------|----------|
| Data 1 | Data 2 | Data 3 |
| Data 4 | Data 5 | Data 6 |
| Left Aligned | Center Aligned | Right Aligned |
|:-------------|:--------------:|--------------:|
| Left | Center | Right |
| This text | is aligned | differently |
Other Elements
> This is a blockquote
> It can span multiple lines
>
> And have multiple paragraphs
---
or
***
This line ends with two spaces
So this line appears directly below
Use backslash to escape: \*not italic\*
You can use <strong>HTML tags</strong> in markdown
💡 Pro Tips
-
•
Two spaces at the end of a line creates a line break
-
•
Empty lines create paragraph breaks
-
•
Use backslash (\) to escape special characters
-
•
Indent nested lists with 2-4 spaces for proper nesting
-
•
Most HTML tags work within Markdown
-
•
Use reference-style links to keep your markdown clean and readable