A simple lua binding to CommonMark, a C library that can parse CommonMark.
local cmark = require("cmark")
local markdown_string = [[
This is an
example [CommonMark](http://commonmark.org/)
paragraph.
]]
local html_string = cmark.markdown(markdown_string)