parsers.lua

Tue, 14 Jul 2009 02:07:18 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Tue, 14 Jul 2009 02:07:18 +0100
changeset 13
39add8e7fa99
parent 12
4c759312950b
permissions
-rwxr-xr-x

Add initial jorvick utility to manage posts and build the site

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