Module to render Markdown to HTML.


051.0.02 years ago3 years agoMinified + gzip package size for @hopin/markdown in KB



Travis Build Status Coverage Status

`hopin-markdown` is a small helper library to render markdown as HTML with some extra bits thrown in.

Jake Hair


npm install @hopin/markdown --save

Usage in Node

const {renderMarkdown} = require('@hopin/markdown');

const result = renderMarkdown(`...markdown here...`);
console.log(`Result HTML: `, result.html);
console.log(`Tokens used in the final HTML: `, result.tokens);

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.