<commit_before># markdown-it-checkbox

[![Build Status](https://img.shields.io/travis/mcecot/markdown-it-checkbox/master.svg?style=flat)](https://travis-ci.org/mcecot/markdown-it-checkbox)
[![NPM version](https://img.shields.io/npm/v/markdown-it-checkbox.svg?style=flat)](https://www.npmjs.org/package/markdown-it-checkbox)
[![Coverage Status](https://img.shields.io/coveralls/mcecot/markdown-it-checkbox/master.svg?style=flat)](https://coveralls.io/r/markdown-it/markdown-it-checkbox)

> Plugin to create checkboxes for [markdown-it](https://github.com/markdown-it/markdown-it) markdown parser.

This plugin allows to create checkboxes for tasklists as discussed [here](http://talk.commonmark.org/t/task-lists-in-standard-markdown/41).

## Usage

## Install

node.js, browser:

```bash
npm install markdown-it-checkbox --save
bower install markdown-it-checkbox --save
```

## Use

```js
var md = require('markdown-it')()
            .use(require('markdown-it-checkbox'));

md.render('[ ] unchecked') // => '<p><mark>marked</mark></p>'
```

_Differences in browser._ If you load script directly into the page, without
package system, module will add itself globally as `window.markdownitCheckbox`.


## License

[MIT](https://github.com/markdown-it/markdown-it-for-inline/blob/master/LICENSE)
<commit_msg>fixed documentation.<commit_after># markdown-it-checkbox

[![Build Status](https://img.shields.io/travis/mcecot/markdown-it-checkbox/master.svg?style=flat)](https://travis-ci.org/mcecot/markdown-it-checkbox)
[![NPM version](https://img.shields.io/npm/v/markdown-it-checkbox.svg?style=flat)](https://www.npmjs.org/package/markdown-it-checkbox)
[![Coverage Status](https://img.shields.io/coveralls/mcecot/markdown-it-checkbox/master.svg?style=flat)](https://coveralls.io/r/markdown-it/markdown-it-checkbox)

> Plugin to create checkboxes for [markdown-it](https://github.com/markdown-it/markdown-it) markdown parser.

This plugin allows to create checkboxes for tasklists as discussed [here](http://talk.commonmark.org/t/task-lists-in-standard-markdown/41).

## Usage

## Install

node.js, browser:

```bash
npm install markdown-it-checkbox --save
bower install markdown-it-checkbox --save
```

## Use

```js
var md = require('markdown-it')()
            .use(require('markdown-it-checkbox'));

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

_Differences in browser._ If you load script directly into the page, without
package system, module will add itself globally as `window.markdownitCheckbox`.


## License

[MIT](https://github.com/markdown-it/markdown-it-for-inline/blob/master/LICENSE)

{'fraction_non_alphanumeric': 0.17762913415087328, 'fraction_numerical': 0.002229654403567447, 'mean_word_length': 4.764453961456103, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 16, 'https://': 16, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2508062', 'n_tokens_mistral': 953, 'n_tokens_neox': 873, 'n_words': 151}