Skip to main content

beaker.markdown

beaker.markdown.toHTML(md)

Renders Markdown into HTML.

  • md String. The Markdown to render.
  • Returns String.
var html = beaker.markdown.toHTML('# hello!')
console.log(html) // => '<h1>Hello!</h1>'