Skip to content

Try our new Crash Courses!

Buy one of our new Crash Courses, now hosted on Podia.

Task list – Markdown

Summary

Markdown:

- [ ] incomplete task
- [x] completed task

Details

To create a task list in Markdown, use a dash followed by a pair of square brackets, then the text for the task. If the task is done, you can place an x inside the square brackets. Note: task lists will only render properly on GitHub.

Demo

Click here to see an example of what this code looks like when rendered on GitHub. (Click the Raw button to see the actual Markdown code.)

Exercises

First, recreate the code snippet from the Summary section in your Markdown file. Then try customizing the text. NOTE: This will not render correctly in the VS Code Markdown preview.

References

Markdown Reference on CommonMark

Lesson tags: Free Lesson
Back to: Markdown Reference > GitHub Markdown