HtmlToMarkdown.ImageType (html_to_markdown v3.6.0-rc.9)

Copy Markdown

Image source classification for proper handling and processing.

Determines whether an image is embedded (data URI), inline SVG, external, or relative.

Summary

Types

t()

Image source classification for proper handling and processing.

Functions

Data URI embedded image (base64 or other encoding)

External image URL (http/https)

Inline SVG element

Relative image path

Types

t()

@type t() :: :data_uri | :inline_svg | :external | :relative

Image source classification for proper handling and processing.

Functions

data_uri()

@spec data_uri() :: t()

Data URI embedded image (base64 or other encoding)

external()

@spec external() :: t()

External image URL (http/https)

inline_svg()

@spec inline_svg() :: t()

Inline SVG element

relative()

@spec relative() :: t()

Relative image path