fork from https://github.com/thomasjo/node-cmark replace node-gyp implements to cmake-js
npm install -g cmake-js
npm install --save node-cmark
const cmark = require('node-cmark');
const markdown = '# h1 title';
console.log(cmark.markdown2html(markdown));//print <h1>h1 title</h1>