@hopin/markdown
`hopin-markdown` is a small helper library to render markdown as HTML with some extra bits thrown in.
Installation
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);