1.2.1 • Published 8 years ago
roaster v1.2.1
Asynchronously convert a Markdown file into HTML. WOW!
You can specify either the contents of a file, or, the path to a file to read.
Usage
var roaster = require("roaster");
var fs = require("fs");
var options = {}
roaster("./markdown.md", options, function(err, contents) {
fs.writeFileSync("./markdown.html", contents, "utf8");
});
Options
The second parameter, options
, is optional. Any options defined
here are passed to the dependent libraries for use in their own systems.
If you pass options.isFile
, the first parameter is assumed to be a file path.
By default, this is false
, which means that the first parameter is an
actual string of Markdown.
Libraries used
- marked for Markdown conversion
- emoji-images for emoji conversion
- task-lists for GFM style task lists conversion
1.2.1
8 years ago
1.2.0
9 years ago
1.1.3
9 years ago
1.1.2
10 years ago
1.1.1
10 years ago
1.1.0
10 years ago
1.0.8
10 years ago
1.0.7
10 years ago
1.0.6
10 years ago
1.0.5
10 years ago
1.0.4
10 years ago
1.0.3
10 years ago
1.0.2
10 years ago
1.0.1
10 years ago
1.0.0
10 years ago
0.1.1
10 years ago
0.1.0
11 years ago
0.0.8
11 years ago
0.0.7
11 years ago
0.0.6
11 years ago
0.0.5
11 years ago
0.0.4
11 years ago
0.0.3
11 years ago
0.0.2
11 years ago
0.0.1
11 years ago