Lists are essential for organizing information in Markdown. Learn how to create ordered, unordered, and nested lists effectively.
Use -
, *
, or +
to create bullet points:
- First item
- Second item
- Third item
Result:
All these create the same result:
- Item with asterisk
* Item with plus
- Item with dash
Result:
💡 Tip: Choose one style and stick with it throughout your document for consistency.
Use numbers followed by periods:
1. First step
2. Second step
3. Third step
Result:
Markdown automatically numbers your lists:
1. First item
1. Second item (still becomes 2)
1. Third item (still becomes 3)
Result:
5. Start at five
6. Continue sequence
7. Keep going
Result: 5. Start at five 6. Continue sequence 7. Keep going
Indent with 2-4 spaces to create nested lists:
- Main item
- Sub item
- Another sub item
- Another main item
- Sub item
- Sub-sub item
- Another sub-sub item
Result:
Combine ordered and unordered lists:
1. First main point
- Supporting detail
- Another detail
2. Second main point
- More details
1. Numbered sub-detail
2. Another numbered detail
3. Third main point
Result:
Add content to list items with proper indentation:
1. First item with multiple paragraphs.
This is the second paragraph of the first item.
And this is a third paragraph.
2. Second item with a blockquote:
> This is a blockquote
> inside a list item.
3. Third item with code:
```javascript
console.log("Code in a list!");
```
**Result:**
1. First item with multiple paragraphs.
This is the second paragraph of the first item.
And this is a third paragraph.
2. Second item with a blockquote:
> This is a blockquote
> inside a list item.
3. Third item with code:
```javascript
console.log('Code in a list!');
Create interactive checkboxes:
- [x] Completed task
- [ ] Incomplete task
- [x] Another completed task
- [ ] Another incomplete task
Result:
## Sprint Planning
### Completed ✅
- [x] Set up development environment
- [x] Create project repository
- [x] Design initial wireframes
### In Progress 🔄
- [ ] Implement user authentication
- [x] Set up login form
- [x] Create user model
- [ ] Add password validation
- [ ] Implement session management
### Planned 📋
- [ ] Build dashboard
- [ ] Add data visualization
- [ ] Implement notifications
# Getting Started with React
## Prerequisites
Before starting, make sure you have:
1. **Node.js** installed (version 16+)
- Download from [nodejs.org](https://nodejs.org)
- Verify installation: `node --version`
2. **Package manager** of choice:
- npm (comes with Node.js)
- yarn: `npm install -g yarn`
- pnpm: `npm install -g pnpm`
3. **Code editor** (recommended):
- VS Code with React extensions
- WebStorm
- Sublime Text
## Setup Steps
1. Create a new React app:
```bash
npx create-react-app my-app
cd my-app
```
Start the development server:
npm start
Open your browser and navigate to:
Begin development:
src/App.js
### Feature Comparison
```markdown
## Framework Comparison
### React
**Pros:**
- Large ecosystem
- Strong community support
- Flexible architecture
- Great developer tools
**Cons:**
- Steep learning curve
- Frequent updates
- Need additional libraries for full features
### Vue.js
**Pros:**
- Easy to learn
- Great documentation
- Progressive adoption
- Built-in state management
**Cons:**
- Smaller ecosystem than React
- Less job market demand
- Fewer third-party components
### Angular
**Pros:**
- Full framework solution
- TypeScript by default
- Powerful CLI tools
- Enterprise-ready
**Cons:**
- Very steep learning curve
- Heavy and complex
- Frequent breaking changes
Use consistent spacing (2 or 4 spaces):
✅ Good:
- Main item
- Sub item (2 spaces)
- Another sub item (2 spaces)
❌ Inconsistent:
- Main item
- Sub item (3 spaces)
- Another sub item (2 spaces)
Group related items together:
✅ Well organized:
## Development Tools
### Code Editors
- VS Code
- WebStorm
- Sublime Text
### Version Control
- Git
- GitHub
- GitLab
### Package Managers
- npm
- yarn
- pnpm
Make list items descriptive:
✅ Descriptive:
- Install Node.js version 16 or higher
- Clone the repository to your local machine
- Run `npm install` to install dependencies
❌ Vague:
- Install Node
- Clone repo
- Install stuff
❌ Wrong:
- Main item
- Sub item (should be indented)
✅ Correct:
- Main item
- Sub item (properly indented)
❌ Wrong:
-Item without space
1.Numbered item without space
✅ Correct:
- Item with space
1. Numbered item with space
❌ Inconsistent:
- First item
* Second item
- Third item
✅ Consistent:
- First item
- Second item
- Third item
## Clear List Structure
### Main Categories
1. **Category A**: Description
- Sub-item with details
- Another sub-item
2. **Category B**: Description
- Important sub-item
- Secondary sub-item
List Type | Syntax | Example |
---|---|---|
Unordered | - item | - item |
Ordered | 1. item | 1. item |
Task | - [ ] task | - [ ] task |
Completed | - [x] done | - [x] done |
Lists are the backbone of organized content – use them to make your information scannable and actionable!