Markdown Basics

Markdown is a simple way to format text. This entire tutorial is written in Markdown. You'll use it for README files, documentation, and notes.

Headers

# Heading 1
## Heading 2
### Heading 3
#### Heading 4

Text Formatting

**bold text**
*italic text*
~~strikethrough~~
`inline code`

Lists

- Item one
- Item two
  - Sub-item (indent with 2 spaces)

1. First item
2. Second item
3. Third item
[Link text](https://example.com)

![Alt text](https://example.com/image.jpg)

Code Blocks

With language name for syntax highlighting:

```python
def hello():
    print("Hello world!")
```

```javascript
function hello() {
    console.log("Hello world!");
}
```

Blockquotes

> This is a quote.
> It can span multiple lines.

Tables

| Name | Age | City |
|------|-----|------|
| Alice | 25 | NYC |
| Bob | 30 | SF |

Horizontal Line

---

Task Lists

- [x] Completed task
- [ ] Pending task

Your Turn — Mini Exercise

Open VS Code, create a file called profile.md, and write:

# My Name

## About Me
I'm learning to build an **AI chat app**.

## Skills
- Python
- JavaScript
- Git

## My First Code
```python
print("I'm learning Markdown!")

Connect With Me

GitHub ```

Save it and press Ctrl+Shift+V (or Cmd+Shift+V on Mac) to preview the rendered Markdown.