Skip to content

About

Converts tasklist in Markdown.

Resources

Stars

20 stars

Watchers

20 watching

Forks

Latest commit

 

History

32 Commits

Folders and files

Repository files navigation

tasklist.js

Converts tasklist in Markdown.

Install

# As an npm package
npm install increments/tasklist.js

# As a bower package
bower install increments/tasklist.js

# As a source code for browser
<script src="http://increments.github.io/tasklist.js/dist/tasklist.min.js"></script>

API

See /docs/tasklist.md.

tasklist.convert(
  '- [ ] foo\n' +
  '- [ ] bar\n' +
  '- [ ] baz',
  2,
  true
)
// results in:
// - [ ] foo
// - [x] bar
// - [ ] baz

Development

npm is pre-required for development.

# Install dependent modules for development
make prepare

# Run tests
make test

# Run lint checker
make lint

# Update docs
make doc

# Update distribution
make build

# Run all above tasks
make

About

Converts tasklist in Markdown.

Resources

Stars

20 stars

Watchers

20 watching

Forks

Releases

Packages

Used by

Contributors

Languages