Module html2text::render::text_renderer [] [src]

Implementations of the Renderer trait.

This module implements helpers and concrete types for rendering from HTML into different text formats.

Structs

PlainDecorator

A decorator for use with TextRenderer which outputs plain UTF-8 text with no annotations. Markup is rendered as text characters or footnotes.

RichDecorator

A decorator to generate rich text (styled) rather than pure text output.

TaggedLine

A line of tagged text (composed of a set of TaggedStrings).

TaggedString

A wrapper around a String with extra metadata.

TextRenderer

A renderer which just outputs plain text with annotations depending on a decorator.

Enums

RichAnnotation

Annotation type for "rich" text. Text is associated with a set of these.

Traits

TextDecorator

Allow decorating/styling text.