Tables are perfect for organizing data, comparisons, and structured information in Markdown.
| Header 1 | Header 2 | Header 3 |
| -------- | -------- | -------- |
| Row 1 | Data | More |
| Row 2 | Info | Content |Result:
| Header 1 | Header 2 | Header 3 |
|---|---|---|
| Row 1 | Data | More |
| Row 2 | Info | Content |
Control text alignment with colons:
| Left | Center | Right |
| :----------- | :------------: | ------------: |
| Left aligned | Center aligned | Right aligned |
| More text | More content | Numbers: 123 |Result:
| Left | Center | Right |
|---|---|---|
| Left aligned | Center aligned | Right aligned |
| More text | More content | Numbers: 123 |
| Method | Syntax | Example |
| ------ | ------------ | --------------- |
| Bold | `**text**` | **bold** |
| Italic | `*text*` | _italic_ |
| Code | `` `code` `` | `console.log()` |Result:
| Method | Syntax | Example |
|---|---|---|
| Bold | **text** | bold |
| Italic | *text* | italic |
| Code | `code` | console.log() |
| Tool | Website | Description |
| ------- | ------------------------------------------------------ | ------------------ |
| GitHub | [github.com](https://github.com) | Version control |
| VS Code | [code.visualstudio.com](https://code.visualstudio.com) | Code editor |
| Node.js | [nodejs.org](https://nodejs.org) | JavaScript runtime |Result:
| Tool | Website | Description |
|---|---|---|
| GitHub | github.com | Version control |
| VS Code | code.visualstudio.com | Code editor |
| Node.js | nodejs.org | JavaScript runtime |
| Endpoint | Method | Description | Parameters |
| ------------- | ------ | -------------- | --------------------- |
| `/users` | GET | List all users | `limit`, `offset` |
| `/users` | POST | Create user | `name`, `email` |
| `/users/{id}` | GET | Get user by ID | `id` (required) |
| `/users/{id}` | PUT | Update user | `id`, `name`, `email` |
| `/users/{id}` | DELETE | Delete user | `id` (required) || Feature | Free Plan | Pro Plan | Enterprise |
| -------------- | :-------: | :-------: | :--------: |
| Users | 5 | 50 | Unlimited |
| Storage | 1GB | 100GB | 1TB |
| Support | Email | Priority | 24/7 Phone |
| API Access | ❌ | ✅ | ✅ |
| Custom Domains | ❌ | ✅ | ✅ |
| Analytics | Basic | Advanced | Custom |
| Price | $0/month | $29/month | Contact Us || Task | Assignee | Status | Due Date | Priority |
| ------------------- | -------- | -------------- | ---------- | -------- |
| User Authentication | @john | ✅ Complete | 2024-01-15 | High |
| Dashboard UI | @sarah | 🔄 In Progress | 2024-01-20 | Medium |
| API Integration | @mike | 📋 Planned | 2024-01-25 | High |
| Testing | @team | ⏳ Pending | 2024-01-30 | Low |Use descriptive column headers:
✅ Good:
| Product Name | Price (USD) | Availability | Rating |❌ Vague:
| Name | Cost | Stock | Stars |Format similar data consistently:
✅ Consistent:
| Item | Price | Discount |
| -------- | ------- | -------- |
| Laptop | $999.00 | 10% |
| Mouse | $29.99 | 5% |
| Keyboard | $79.50 | 15% || Product | Status | Price |
| :------ | :-------: | ------: |
| Laptop | Available | $999.00 |
| Mouse | Sold Out | $29.99 |Use <br /> for line breaks in cells:
| Feature | Description |
| -------------- | ------------------------------------------------------ |
| Authentication | Secure login
Password reset
2FA support |
| Dashboard | Real-time data
Custom widgets
Export options |Leave cells empty when appropriate:
| Version | Feature | Bug Fixes | Breaking Changes |
| ------- | ---------------- | --------- | ---------------- |
| 1.0.0 | Initial release | | ✅ |
| 1.1.0 | New dashboard | 5 fixes | |
| 2.0.0 | Complete rewrite | 12 fixes | ✅ |❌ Wrong:
| A | B | C |
| --- | --- | --- | --- |
| 1 | 2 |
| 3 | 4 | 5 | 6 |✅ Correct:
| A | B | C |
| --- | --- | --- |
| 1 | 2 | 3 |
| 4 | 5 | 6 |❌ Missing:
| Header 1 | Header 2 |
| Row 1 | Data |✅ Complete:
| Header 1 | Header 2 |
| -------- | -------- |
| Row 1 | Data |❌ Unescaped:
| Code | Description |
| ---- | ----------- | -------------- |
| a | b | Pipe character |✅ Escaped:
| Code | Description |
| ---- | -------------- |
| a\|b | Pipe character |Tables make your content organized and scannable – perfect for comparisons, specifications, and structured data!