HtmlToMarkdown.PreprocessingOptions (html_to_markdown v2.22.5)

View Source

Configuration for HTML preprocessing before conversion.

Summary

Functions

Build preprocessing options from a map/keyword list/struct.

Types

preset()

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

t()

@type t() :: %HtmlToMarkdown.PreprocessingOptions{
  enabled: boolean(),
  preset: preset(),
  remove_forms: boolean(),
  remove_navigation: boolean()
}

Functions

new(opts)

@spec new(t() | map() | keyword() | nil) :: t()

Build preprocessing options from a map/keyword list/struct.