An implementation of the basic task list logic (in CoffeeScript)
HTML CoffeeScript JavaScript Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
scripts
src
test
.gitignore
LICENSE.txt
README.md
package.json

README.md

Tasks Lists (JS)

Turns a GFM style task list into a series of checkboxes.

Installation

npm install task-lists

Usage

var roaster = require("roaster");
var taskLists = require("../src/index");
var fs = require("fs");

var options = {};
options.isFile = true;

roaster("./markdown.md", options, function(err, contents) {
  contents = taskLists(contents, { disabled: false });
  fs.writeFileSync("./markdown.html", contents, "utf8");
});