Let the Markdown file in your VuePress site support task list.
Configuration
module.exports = {
plugins: [
[
"markdown-enhance",
{
// Enable Task List
tasklist: true,
},
],
],
};
Syntax
- Use
- [ ] some text
to render a unchecked task item. - Use
- [x] some text
to render a checked task item. (CapitalX
is also supported)
Demo
- [ ] Plan A
- [x] Plan B