The HTMLRenderer provides templating support via Go’s html/template package. This allows docproc to create complex, message-dependent content to be stored in the message itself. It is similar to the TemplateTransformer, except that html/template contains some builtin safety nets for HTML content.


The HTMLRenderer requires the following configuration entries:

type = HTMLRenderer = path_to_store
templates = /path/to/all/templates/*.tpl
templateroot = main
To configure a HTMLRenderer, use HTMLRenderer as type.
The path to use on the message’s content to store the transformed result in.
Location of the template files on disk. This should be a glob pattern match.
The template entry point to use ({{define "your-entrypoint" }}).