Markdownチュートリアル

Task Lists

Using task lists

Task List Syntax

Task lists can create item lists with checkboxes. In Markdown applications that support task lists, checkboxes will appear next to the content.

To create a task list, add - and [ ] before the task item. Add a space before [ ]. To select a checkbox, add x inside [ ].

- [ ] Task 1
- [x] Task 2

Rendered output:

  • Task 1
  • Task 2

Nested Task Lists

You can create nested task lists by indenting task items.

- [ ] Main task
  - [ ] Subtask 1
  - [x] Subtask 2
  - [ ] Subtask 3
- [x] Another main task

Rendered output:

  • Main task
    • Subtask 1
    • Subtask 2
    • Subtask 3
  • Another main task

Best Practices for Task Lists

Use Clear Task Descriptions

Write clear and actionable task descriptions.

- [ ] Review the project proposal
- [ ] Schedule team meeting
- [x] Update documentation

Group Related Tasks

Group related tasks together for better organization.

## Project Setup
- [ ] Initialize repository
- [ ] Set up CI/CD pipeline
- [ ] Configure environment variables

## Development
- [ ] Implement core features
- [ ] Write unit tests
- [ ] Code review

Use Consistent Formatting

Maintain consistent spacing and formatting throughout your task lists. Refer to list syntax Lists