1.0.2 • Published 9 years ago

render-commonmark v1.0.2

Weekly downloads
7
License
Apache2
Repository
github
Last release
9 years ago

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.