HtmlToMarkdown.PreprocessingPreset (html_to_markdown v3.5.2)

Copy Markdown

HTML preprocessing aggressiveness level.

Controls the extent of cleanup performed before conversion. Higher levels remove more elements.

Summary

Types

t()

HTML preprocessing aggressiveness level.

Functions

Aggressive cleanup. Remove extensive non-content elements and structure.

Minimal cleanup. Remove only essential noise (scripts, styles).

Standard cleanup. Default. Removes navigation, forms, and other auxiliary content.

Types

t()

@type t() :: :minimal | :standard | :aggressive

HTML preprocessing aggressiveness level.

Functions

aggressive()

@spec aggressive() :: t()

Aggressive cleanup. Remove extensive non-content elements and structure.

minimal()

@spec minimal() :: t()

Minimal cleanup. Remove only essential noise (scripts, styles).

standard()

@spec standard() :: t()

Standard cleanup. Default. Removes navigation, forms, and other auxiliary content.