1.1.0 • Published 8 years ago

markdown-it-tasklist v1.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
8 years ago

Usage

Install

node.js, browser:

npm install markdown-it-tasklist --save

Use

var md = require('markdown-it')()
            .use(require('markdown-it-tasklist'));

md.render('- [ ] unchecked') // =>
// <p>
//  <input type="checkbox" id="checkbox0">
//  <label for="checkbox">unchecked</label>
// </p>

md.render('- [x] checked') // =>
// <p>
//  <input type="checkbox" id="checkbox" checked="true">
//  <label for="checkbox">checked</label>
// </p>
1.1.0

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago