compileHTMLDietString

Compiles a Diet template given as a string.

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

  1. string compileHTMLDietString(R dst)
    template compileHTMLDietString(string contents, ALIASES...)
    nothrow
    debug
    string
    compileHTMLDietString
    (
    R
    )
    (
    ref R dst
    )
  2. void compileHTMLDietString(R dst)

Members

Functions

compileHTMLDietString
string compileHTMLDietString(R dst)
Undocumented in source. Be warned that the author may not have intended to support it.
compileHTMLDietString
void compileHTMLDietString(R dst)
Undocumented in source. Be warned that the author may not have intended to support it.

Parameters

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

Meta