# ✍️ Markdown
#CS #md

Your ultimate guide to Markdown, a lightweight and versatile markup language for formatting text. 🚀 Use this cheatsheet to create beautiful, structured content with ease!

---

## 📋 Basic Syntax

| **Syntax**        | **Result**                         |
|-------------------|------------------------------------|
| `# Heading 1`     | Creates a top-level heading.       |
| `## Heading 2`    | Creates a second-level heading.    |
| `### Heading 3`   | Creates a third-level heading.     |
| `**Bold**`        | **Bold** text.                    |
| `*Italic*`        | *Italic* text.                    |
| `***Bold & Italic***` | ***Bold & Italic*** text.        |
| `~~Strikethrough~~` | ~~Strikethrough~~ text.           |
| `[Link Text](url)`| Creates a [hyperlink](https://example.com). |
| `![Alt Text](image.jpg)` | Embeds an image.              |

---

## 📂 Lists

### Unordered List
```markdown
- Item 1
- Item 2
  - Sub-item 2.1
  - Sub-item 2.2
```
- Item 1
- Item 2
  - Sub-item 2.1
  - Sub-item 2.2

### Ordered List
```markdown
1. First Item
2. Second Item
   1. Sub-item 2.1
   2. Sub-item 2.2
```
1. First Item
2. Second Item
   1. Sub-item 2.1
   2. Sub-item 2.2

---

## 🖼️ Images and Links

| **Syntax**                              | **Example**                              |
|-----------------------------------------|------------------------------------------|
| `![Alt Text](image.jpg)`                | ![Example](https://via.placeholder.com/150) |
| `[Click Here](https://example.com)`     | [Click Here](https://example.com)         |

---

## 📝 Code Blocks and Inline Code

### Inline Code
```markdown
`inline code`
```
Example: `inline code`

### Code Block
\`\`\`markdown
```
This is a block of code.
```
\`\`\`

```
This is a block of code.
```

---

## 📊 Tables

```markdown
| Header 1 | Header 2 | Header 3 |
|----------|----------|----------|
| Row 1    | Data 1   | Info 1   |
| Row 2    | Data 2   | Info 2   |
```
| Header 1 | Header 2 | Header 3 |
|----------|----------|----------|
| Row 1    | Data 1   | Info 1   |
| Row 2    | Data 2   | Info 2   |

---

## 🎨 Formatting Tricks

| **Syntax**                   | **Example**                                      |
|------------------------------|--------------------------------------------------|
| `> Blockquote`               | > This is a blockquote.                          |
| `---`                        | Creates a horizontal line.                       |
| \*                          | Escapes special characters like `*` or `_`.      |

---

## 🎵 Advanced Features

### Task Lists
```markdown
- [x] Completed Task
- [ ] Incomplete Task
```
- [x] Completed Task
- [ ] Incomplete Task

### Drop down lists
```
<details open>
<summary>Want to ruin the surprise?</summary>
<br>
Well, you asked for it!
</details>
```
<details open>
<summary>Want to ruin the surprise?</summary>
<br>
Well, you asked for it!
</details>


### Footnotes
```markdown
Here is a footnote reference[^1].

[^1]: This is the footnote.
```
Example:
Here is a footnote reference[^1].

[^1]: This is the footnote.

### Emojis
```markdown
:smile: :rocket: :heart:
```
Example: 😄 🚀 ❤️

---

## 🛠️ Tips and Tricks

- **Preview Your Markdown**: Use tools like VS Code, Obsidian, or online editors to preview your content.
- **Extend with HTML**: Markdown supports inline HTML for advanced formatting.
- **Keep It Clean**: Use consistent headings and indentation for readability.

Master Markdown with these examples, and create stunning content effortlessly! 🌟
