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

A renderer for HTML documents.

A converter for RichAnnotation.

Traits

A converter for HTML annotations.

Type Definitions

A renderer for HTML documents that uses the default rich text decorator and converter.