Task lists appear in project plans, issue templates, onboarding documents, and release checklists. In source form, however, a single missing space can turn a checkbox into ordinary text.
Use an online Markdown viewer to inspect the list before checking the final publishing destination.
Correct Markdown checkbox syntax
- [x] Draft the release notes
- [x] Review breaking changes
- [ ] Publish the package
- [ ] Notify customers
The spaces matter. Keep one after the hyphen and one between the brackets for an unchecked item.
Preview a checklist
Import the file into the viewer and select split view. Confirm that completed items show checked boxes, incomplete items remain empty, and nested tasks appear under the correct parent.
- [ ] Launch documentation
- [x] Write the guide
- [ ] Verify links
Consistent indentation is important. Mixing tabs and spaces can produce different nesting results across renderers.
Preview versus task management
A Markdown viewer is designed to render the document, not replace a project management system. MD Opener’s preview checkboxes are disabled. Change the source markers to update task state; the preview is not a shared progress record.
To mark a task complete, edit [ ] to [x] in the source and verify the updated preview. For longer editing sessions, use the Markdown editor.
Use task lists in exported documents
Before exporting, check that long task descriptions wrap cleanly and that nested items remain understandable without interaction. Then choose Markdown to PDF for a stable checklist or Markdown to Word when reviewers need an editable document.
Compare a broken source with its correction
- [] Missing blank inside the brackets
-[ ] Missing blank after the hyphen
- [ ]Correct the missing blank before this label
For a predictable task list, write each intended item as:
- [ ] Label for one task
- [x] Label for a completed task
A task marker needs a list item, brackets containing a space or x, and a separator before the label. If you deliberately wrap the marker in backticks, it appears as literal code. If the whole list is inside a fenced code block, it also remains a source example rather than becoming checkboxes.
For precise syntax and task-marker behavior, see the GFM task-list specification.
Preserve parent and child meaning
- [ ] Publish the guide
- [x] Check spelling
- [ ] Confirm examples against the released version
The parent stays incomplete while one child is unresolved. Markdown rendering does not calculate this relationship: an author can mark the parent complete by mistake. Decide your team's completion rule and review the source accordingly.
Use a row or issue identifier when a checklist must be discussed outside the document. A disabled checkbox has no assignee, completion timestamp, audit trail, or shared state. For an export, verify that a reader can distinguish checked and unchecked items without clicking, and do not treat a Word checkbox symbol as an interactive form control.
Key takeaways
- Preview checked and unchecked task-list items
- Fix spacing and nesting mistakes
- Review project checklists without opening an IDE
Frequently asked questions
How do I make a checkbox in Markdown?
Use a list marker followed by square brackets: `- [ ]` for an unchecked task and `- [x]` for a checked task.
Are Markdown preview checkboxes interactive?
A rendered viewer commonly displays disabled checkboxes. Update the source marker to change task state rather than treating the preview as a task app.
Why is my task list showing brackets instead of checkboxes?
Check the spaces around the brackets and confirm that the renderer supports GitHub Flavored Markdown task lists.