@hopin/markdown

Module to render Markdown to HTML.

Usage no npm install needed!

<script type="module">
  import hopinMarkdown from 'https://cdn.skypack.dev/@hopin/markdown';
</script>

README

@hopin/markdown

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

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);