parsers.lua

Mon, 20 Jul 2009 23:49:43 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Mon, 20 Jul 2009 23:49:43 +0100
changeset 15
e784e417a3e2
parent 12
4c759312950b
permissions
-rwxr-xr-x

Add publish command to jorvick

parsers = {};

function parsers.text(text)
	--FIXME: HTML-escape
	return text;
end

local markdown = require "jorvick.parsers.markdown"
function parsers.markdown(text)
	return markdown(text);
end


local textile = require "jorvick.parsers.textile"
function parsers.textile(text)
	return textile(text);
end

return parsers;

mercurial