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 = {
  plugins: [
    [
      "md-enhance",
      {
        // Enable Task List
        tasklist: true,
      },
    ],
  ],
};
1
2
3
4
5
6
7
8
9
10
11

# Syntax

  • Use - [ ] some text to render a unchecked task item.
  • Use - [x] some text to render a checked task item. (Capital X is also supported)

# Demo

- [ ] Plan A
- [x] Plan B
1
2