Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: 0.1
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (8 sloc) 0.401 kB
module(..., package.seeall)
local writer = require "lunamark.writer"
local parser = require "lunamark.parser"
function converter(in_format, out_format, options)
assert(parser[in_format], string.format("input format `%s' not defined", in_format))
assert(writer[out_format], string.format("output format `%s' not defined", out_format))
return parser[in_format](writer[out_format], options)
end
Jump to Line
Something went wrong with that request. Please try again.