On Wed, 08 May 2013 18:12:31 GMT, Sönke Ludwig wrote:

By the way, the following wrapper function can be used to get an interface that is similar to the Diet render!() function:

Has been merged into embd now, so if "embd": "~master" is added as a dependency, it should just work.

string caption = "Hello, World!";
//res.renderEmbd!("test.embd", caption, req)();
res.bodyWriter.renderEmbdCompat!("test.embd",
	string, "caption",
	HTTPServerRequest, "req")(caption, req);