Property definitions

nitc $ APILight :: defaultinit
# Highlight handler accept source code as POST data and render it as HTML with nitpick messages
class APILight
	super APIHandler

	redef fun post(req, res) do
		var hl = new HtmlightVisitor
		var hlcode = hl.highlightcode(req.body)
		res.api_json(req, hlcode)
	end
end
src/doc/api/api_light.nit:27,1--36,3