renderEmbdCompat

Renders an EMBD template to an output stream.

These functions provice means to render EMPD templates in a way similar to the render!() function of vibe.d for rendering Diet templates.

Note that these functions are only available if "vibe-d" is available as a dependency or if a "Have_vibe_d" version identifier is specified manually.

version(Have_vibe_d)
void
renderEmbdCompat
(
string FILE
TYPES_AND_NAMES...
)
(
OutputStream dst
,)

Examples

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

Meta