Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable checkboxes in markdown preview for Visual Studio Code [closed]

I'm trying to enable markdown checkboxes in Visual Studio Code markdown preview, but am not having any luck. I've tried every combination of the following extensions with no luck:

  • Markdown Preview Enhanced
  • Markdown All in One
  • Markdown Preview Github Styling
  • Markdown Checkbox
  • Markdown Checkboxes

Is there a configuration of extensions where this is working for anyone?

like image 238
Efie Avatar asked Sep 05 '25 03:09

Efie


2 Answers

Checkboxes work in VS Code using the Markdown All In One extension. The trick is that the checkboxes also have to be part of a list.

❌ This doesn't work:

[ ] Unchecked
[ ] Checked

✅ This works:

- [ ] Unchecked
- [x] Checked

enter image description here


The "task list" syntax was first introduced to GitHub flavored Markdown back in January 2013.

  • GitHub flavored Markdown - Task list items (extension)
  • GitLab flavored Markdown - Task lists
like image 113
johnmcase Avatar answered Sep 07 '25 23:09

johnmcase


VS Code markdown does not support checkboxes, so you need to install an extension.

like image 44
Kalpit Avatar answered Sep 07 '25 21:09

Kalpit