The file suffix to use when rendering the output to a file.
The file suffix to use when rendering the output to a file. When transforming entire directories the suffix of the markup file will be automatically replaced by the suffix for the output format.
Creates a new renderer and a new writer instance for the specified output and delegate renderer.
Creates a new renderer and a new writer instance for the specified output and delegate renderer. The delegate function needs to be used whenever an element renders its children, as the user might have installed custom renderer overrides this instance is not aware of. If no custom renderer is responsible for the children, the invocation will fall back to calling this renderer again.
In contrast to the parser function, a new render function will be created for
each render operation. In addition
to the actual renderer function, this method also produces
an instance of the generic W
type which is the writer API to use
for custom renderer functions and which is specific to the output format.
the output to write to
a render function to use for rendering the children of an element
a new writer API of type W
and a new render function
Responsible for creating renderer instances for a specific output format. A renderer is simply a function of type
Element => Unit
. In addition to the actual renderer function, the factory method also produces an instance of the genericW
type which is the writer API to use for custom renderer functions and which is specific to the output format.