Home

Awesome

node-cmark

fork from https://github.com/thomasjo/node-cmark replace node-gyp implements to cmake-js

dependencies

npm install -g cmake-js

install

npm install --save node-cmark

usage


const cmark = require('node-cmark');
const markdown = '# h1 title';
console.log(cmark.markdown2html(markdown));//print <h1>h1 title</h1>