diet.html

HTML output generator implementation.

Members

Enums

HTMLOutputStyle
enum HTMLOutputStyle

Determines how the generated HTML gets styled.

Functions

getHTMLMixin
string getHTMLMixin(in Document doc, string range_name = dietOutputRangeName, HTMLOutputStyle style = HTMLOutputStyle.compact)

Returns a mixin string that generates HTML for the given DOM tree.

Templates

compileHTMLDietFile
template compileHTMLDietFile(string filename, ALIASES...)

Compiles a Diet template file that is available as a string import.

compileHTMLDietFileString
template compileHTMLDietFileString(string filename, alias contents, ALIASES...)

Compiles a Diet template given as a string, with support for includes and extensions.

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

Compiles a Diet template given as a string.

compileHTMLDietStrings
template compileHTMLDietStrings(alias FILES_GROUP, ALIASES...)

Compiles a set of Diet template files.

Meta