precomile markdown, plus handlebars hacks