OptionalmodeHow to treat the input HTML.
OptionallinksHow to render anchor (<a>) tags.
"text": Show only the link text (default)"inline": Show text followed by URL in parentheses, e.g., "Click here (https://example.com)""remove": Remove links entirelyOptionalimagesHow to render image (<img>) tags.
OptionalcollapseCollapse consecutive whitespace outside preserved tags.
OptionalmaxMaximum consecutive newlines allowed after compaction.
OptionalwrapOptional hard-wrap column width.
OptionaltableSeparator between table cells.
OptionalexcludeHTML tags to exclude entirely along with their contents.
OptionaldecodeDecode HTML entities.
OptionalpreserveTags whose internal whitespace is preserved.
OptionaltrimTrim leading and trailing whitespace from the result.
Options for HTML to plain text conversion.