Task list
Mr.Hope ... 2021-4-25 Less than 1 minute
Let the Markdown file in your VuePress site support task list.
# Configuration
module.exports = {
themeConfig: {
mdEnhance: {
tasklist: true,
},
},
};
1
2
3
4
5
6
7
2
3
4
5
6
7
# 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
1
2
2