vibe.d beta banner
get vibe.d
0.10.0

Asynchronous I/O that doesn’t get in your way, written in D

Template compileHTMLDietString

Compiles a Diet template given as a string.

template compileHTMLDietString(string contents, ALIASES...) ;

The final HTML will be written to the given _diet_output output range.

Contained Functions

NameDescription
compileHTMLDietString

Parameters

NameDescription
contents The contents of the Diet template
ALIASES A list of variables to make available inside of the template, as well as traits structs annotated with the @dietTraits attribute.
dst The output range to write the generated HTML to.

See Also

compileHTMLDietFileString, compileHTMLDietStrings

Authors
Copyright
License