1# Learn Markdown
  2
  3Markdown is a lightweight markup language for formatting plain text. It’s widely used for README files, documentation, notes, and writing on platforms like GitHub.
  4
  5---
  6
  7## 1. Headings
  8
  9Use `#` characters for headings. More `#` means a smaller heading.
 10
 11```md
 12# Heading 1
 13## Heading 2
 14### Heading 3
 15#### Heading 4
 16```
 17
 18---
 19
 20## 2. Paragraphs & Line Breaks
 21
 22Just write text normally.
 23
 24* Leave a **blank line** between paragraphs.
 25* Add two spaces at the end of a line for a manual line break.
 26
 27---
 28
 29## 3. Emphasis
 30
 31```md
 32*Italic* or _Italic_
 33**Bold** or __Bold__
 34***Bold and Italic***
 35~~Strikethrough~~
 36```
 37
 38*Italic*
 39**Bold**
 40***Bold and Italic***
 41~~Strikethrough~~
 42
 43---
 44
 45## 4. Lists
 46
 47### Unordered Lists
 48
 49```md
 50- Item
 51- Item
 52  - Nested item
 53* Item
 54```
 55
 56### Ordered Lists
 57
 58```md
 591. First
 602. Second
 613. Third
 62```
 63
 64---
 65
 66## 5. Links
 67
 68```md
 69[Link text](https://example.com)
 70```
 71
 72[Example link](https://example.com)
 73
 74---
 75
 76## 6. Images
 77
 78```md
 79![Alt text](https://example.com/image.png)
 80```
 81
 82---
 83
 84## 7. Code
 85
 86### Inline Code
 87
 88```md
 89Use `inline code` for short snippets.
 90```
 91
 92Use `inline code` for short snippets.
 93
 94### Code Blocks
 95
 96````md
 97```python
 98def hello():
 99    print("Hello, Markdown!")
100````
101
102````
103
104```python
105def hello():
106    print("Hello, Markdown!")
107````
108
109---
110
111## 8. Blockquotes
112
113```md
114> This is a blockquote.
115>> Nested blockquote.
116```
117
118> This is a blockquote.
119>
120> > Nested blockquote.
121
122---
123
124## 9. Horizontal Rules
125
126```md
127---
128***
129___
130```
131
132---
133
134## 10. Tables
135
136```md
137| Name | Level | Class |
138|------|-------|-------|
139| Alex | 60    | Mage  |
140| Sam  | 45    | Rogue |
141```
142
143| Name | Level | Class |
144| ---- | ----- | ----- |
145| Alex | 60    | Mage  |
146| Sam  | 45    | Rogue |
147
148---
149
150## 11. Task Lists
151
152```md
153- [x] Learn Markdown basics
154- [ ] Write documentation
155- [ ] Become awesome
156```
157
158* [x] Learn Markdown basics
159* [ ] Write documentation
160* [ ] Become awesome
161
162---
163
164## 12. Escaping Characters
165
166Use a backslash (`\`) to escape Markdown characters.
167
168```md
169\*This is not italic\*
170```
171
172*This is not italic*
173
174---
175
176## 13. Common Markdown Extensions (Platform-dependent)
177
178Some platforms (like GitHub) support extra features:
179
180* Syntax highlighting
181* Task lists
182* Tables
183* Strikethrough
184* Emoji `:smile:` 😄
185
186---
187
188## 14. Tips for Learning
189
190* Read Markdown source and rendered output side by side
191* Practice by writing a README.md
192* Use a Markdown preview editor
193
194---
195
196## 15. Minimal Cheat Sheet
197
198```md
199# Heading
200**Bold** *Italic*
201[Link](url)
202`Code`
203- List item
204> Quote
205```
206
207---
208
209Happy writing! ✨