--- title: "@mdit/plugin-tasklist" shortTitle: "plugin-tasklist" icon: list-check --- Plugins to support tasklist. ## Usage ```ts import { tasklist } from "@mdit/plugin-tasklist"; import MarkdownIt from "markdown-it"; const mdIt = new MarkdownIt().use(tasklist, { // your options, optional }); mdIt.render(`\ - [x] task 1 - [ ] task 2 `); ``` ## 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) ## Options ::: fields @`disabled` type=boolean default=`true` Whether to disable checkbox. @`label` type=boolean default=`true` Whether to use `