1.0.0 • Published 8 years ago
@donotjs/donot-transform-markdown v1.0.0
donot-transform-markdown
markdown compiler and renderer for donot.
Usage
Using the markdown donot transform plug-in is pretty easy.
var http = require('http'),
donot = require('donot'),
MarkdownTransform = require('donot-transform-markdown');
var server = http.createServer(donot(__dirname + '/public', {
transforms: [ new MarkdownTransform({
// Options
}) ]
}));
server.listen(8000);
Now .md
files in the /public
folder will automatically be rendered and served as .html
files.
License
MIT
1.0.0
8 years ago