RichTextExporter

interface RichTextExporter<T>

An interface for exporting a RichString into a specific representation of type T.

Parameters

T

The output type representing the formatted text (e.g., String, HTML, JSON).

Inheritors

Functions

Link copied to clipboard
abstract fun export(richString: RichString): T

Converts the given richString into the target format of type T.