Node.js wrapper for GitHub's fork of cmark/libcmark
Clone or download
Pull request Compare This branch is 6 commits ahead, 6 commits behind thomasjo:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

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>