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 composite render function to delegate to when elements need to render their children
a tuple consisting of the writer API for customizing the renderer as well as the actual default render function itself
A renderer for PrettyPrint output, primarily useful for debugging purposes. May be directly passed to the
Render
orTransform
APIs:Render as PrettyPrint from document toString Transform from Markdown to PrettyPrint fromFile "hello.md" toConsole