HtmlToMarkdown.InlineImageConfig (html_to_markdown v2.22.5)

View Source

Configuration for inline image extraction.

Summary

Functions

Build a configuration struct from a map, keyword list, or another struct.

Types

t()

@type t() :: %HtmlToMarkdown.InlineImageConfig{
  capture_svg: boolean(),
  filename_prefix: String.t() | nil,
  infer_dimensions: boolean(),
  max_decoded_size_bytes: pos_integer()
}

Functions

new(cfg)

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

Build a configuration struct from a map, keyword list, or another struct.