Expand description
A renderer for HTML documents.
Requires the html feature (enabled per default).
This module provides the Renderer struct, a renderer that uses html2text to render
HTML documents. You can custommize the renderer by settting a TextDecorator and a
Converter. The TextDecorator is used by html2text to convert the HTML DOM
into annotated strings. The Converter is used by the renderer to interpret the
annotations and to extract the text format and links.
Structs§
- Renderer
- A renderer for HTML documents.
- Rich
Converter - A converter for
RichAnnotation.
Traits§
- Converter
- A converter for HTML annotations.
Type Aliases§
- Rich
Renderer - A renderer for HTML documents that uses the default rich text decorator and converter.