TemplatedDocument.viewFunctions

In the html templates, you can write {$varname} or {$varname|func} (or {$varname|func arg arg|func} and so on). This holds the functions available these. The TemplatedDocument constructor puts in a handful of generic ones.

class TemplatedDocument
string delegate(string, string[], in Element, string)[string] viewFunctions;

Meta