HtmlToMarkdown. ImageType
(html_to_markdown v3.11.4)
Copy Markdown
Image source classification for proper handling and processing.
Determines whether an image is embedded (data URI), inline SVG, external, or relative.
Summary
Functions
Data URI embedded image (base64 or other encoding)
External image URL (http/https)
Inline SVG element
Relative image path
Returns the serde wire value this variant carries on the JSON boundary (see wire_variant_value in alef's naming module) -- distinct from the atom's Elixir spelling.
Types
Functions
@spec data_uri() :: t()
Data URI embedded image (base64 or other encoding)
@spec external() :: t()
External image URL (http/https)
@spec inline_svg() :: t()
Inline SVG element
@spec relative() :: t()
Relative image path
Returns the serde wire value this variant carries on the JSON boundary (see wire_variant_value in alef's naming module) -- distinct from the atom's Elixir spelling.