Gathering detailed insights and metrics for @hackmd/markdown-it-task-lists
Gathering detailed insights and metrics for @hackmd/markdown-it-task-lists
Gathering detailed insights and metrics for @hackmd/markdown-it-task-lists
Gathering detailed insights and metrics for @hackmd/markdown-it-task-lists
A markdown-it plugin to create GitHub-style task lists
npm install @hackmd/markdown-it-task-lists
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
ISC License
101 Stars
41 Commits
35 Forks
3 Watchers
30 Branches
3 Contributors
Updated on Jun 28, 2025
Latest Version
2.1.4
Package Id
@hackmd/markdown-it-task-lists@2.1.4
Unpacked Size
15.36 kB
Size
5.06 kB
File Count
11
NPM Version
9.8.1
Node Version
18.18.0
Published on
Mar 27, 2024
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
5
A markdown-it plugin to create GitHub-style task lists
[ ]
or [x]
.When you have markdown documentation with checklists, rendering HTML checkboxes out of the list items looks nicer than the raw square brackets.
1npm install markdown-it-task-lists
Use it the same as a normal markdown-it plugin:
1var md = require('markdown-it'); 2var taskLists = require('markdown-it-task-lists'); 3 4var parser = md().use(taskLists); 5 6var result = parser.render(...); // markdown string containing task list items
The rendered checkboxes are disabled; to change this, pass a truthy value into
the enabled
property of the plugin options:
1var parser = md().use(taskLists, {enabled: true});
If you'd like to wrap the rendered list items in a <label>
element for UX
purposes, pass a truthy value to the label
property of the plugin options:
1var parser = md().use(taskLists, {label: true});
To add the label after the checkbox pass a truthy value to labelAfter
property:
1var parser = md().use(taskLists, {label: true, labelAfter: true});
Note: This option does require the label
option to be truthy.
The options can be combined, of course.
If you use one of the versions of this module available in dist/
directly in
a browser by including it with a <script>
element, it will be available
globally in window.markdownitTaskLists
.
1npm install 2npm test
ISC
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 4/23 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
26 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More