npm.io
1.0.2 • Published 10 years ago

render-commonmark

Licence
Apache2
Version
1.0.2
Deps
1
Vulns
0
Weekly
0

Note: This is a fork of https://github.com/brianleroux/commonmark-str-to-html, the author of which seems unresponsive.

Build status

render-commonmark

install

npm i render-commonmark

usage

var toHTML = require('render-commonmark')

console.log(toHTML('the *quick* brown _fox_'))
contrib

this is a module that demonstrates authoring in es6 but publishing to npm as es5. its all very simple really:

  • .npmignore ignores the source file es6.js
  • .gitignore ignores the published file es5.js

compile by running npm start and run the tests using npm test.