The default styles to add as a fallback to the explicitly specified styles.
The default styles to add as a fallback to the explicitly specified styles.
The default template to use for this renderer if no template is explicitly specified.
The default template to use for this renderer if no template is explicitly specified.
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.
The maximum width of a single text element.
The maximum width of a single text element. For any text that exceeds this limit only the beginnig and end of the line will be displayed up to the maximum number of characters allowed. This increases readability for the majority of cases where primarily the document structure is relevant.
The actual setup method for providing both the writer API for customized renderers as well as the actual default render function itself.
The actual setup method for providing both the writer API for customized renderers as well as the actual default render function itself. The default render function always only renders a single element and then delegates to the composite renderer passed to this function as a parameter when rendering children. This way user customizations are possible on a per-element basis.
the output to write to
the root element the new renderer will be used for
the composite render function to delegate to when elements need to render their children
the styles the new renderer should apply to the rendered elements
a tuple consisting of the writer API for customizing the renderer as well as the actual default render function itself