Generate ordered, unordered, and task lists from your text.
Markdown supports three types of lists: unordered (bullets), ordered (numbers), and task lists (checkboxes).
Use hyphens (-), asterisks (*), or plus signs (+) for bullet points:
- First item - Second item - Third item
All three markers work identically. Choose one and be consistent.
Use numbers followed by periods:
1. First item 2. Second item 3. Third item
Pro tip: You can use 1. for all items, and markdown will auto-number them correctly.
GitHub and many platforms support task lists with checkboxes:
- [ ] Unchecked task - [x] Checked task - [ ] Another task
Note: There must be a space between the brackets [ ].
Indent sub-items with 2-4 spaces or 1 tab:
- Main item
- Sub-item 1
- Sub-item 2
- Nested sub-item
- Another main item
You can mix ordered and unordered lists:
1. First step - Sub-point A - Sub-point B 2. Second step - Sub-point C
Add paragraphs within list items by indenting:
1. First item This is a paragraph within the first item. 2. Second item - Nested list within second item - Another nested item
Include code blocks within lists by indenting further:
1. Install the package ```bash npm install package-name ``` 2. Import it ```javascript import pkg from 'package-name'; ```
Unordered:
- Apple - Banana - Orange
Ordered:
1. First 2. Second 3. Third
Tasks:
- [x] Done - [ ] Todo
- Item[ ]