npm install --save beldown
var md =var html = md`# hithis is markdown`console
hithis is markdown
var md =mdvar html = md`~~Github flavored markdown is off~~`console
~~Github flavored markdown is off~~
The wrapping div is required because multiple root elements must be wrapped in an enclosing tag. I'm not sure if there's a great way around that.
Leading whitespace of each line is currently stripped. Maybe there's a case where that breaks things?