task-lists
v0.2.0
Published
An implementation of GFM task lists
Downloads
41
Readme
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");
});