JS Markdown para HTML

// Node:
let showdown  = require('showdown'),
    converter = new showdown.Converter(),
    text      = '# hello, markdown!',
    html      = converter.makeHtml(text);

// Browser
// <script src="https://unpkg.com/showdown/dist/showdown.min.js"></script>

let converter = new showdown.Converter(),
    text      = '# hello, markdown!',
    html      = converter.makeHtml(text);
KostasX