HtmlToMarkdown.LinkType (html_to_markdown v3.5.2)

Copy Markdown

Link classification based on href value and document context.

Used to categorize links during extraction for filtering and analysis.

Summary

Types

t()

Link classification based on href value and document context.

Functions

Anchor link within same document (href starts with #)

Email link (mailto:)

External link to different domain

Internal link within same domain

Other protocol or unclassifiable

Phone link (tel:)

Types

t()

@type t() :: :anchor | :internal | :external | :email | :phone | :other

Link classification based on href value and document context.

Functions

anchor()

@spec anchor() :: t()

Anchor link within same document (href starts with #)

email()

@spec email() :: t()

Email link (mailto:)

external()

@spec external() :: t()

External link to different domain

internal()

@spec internal() :: t()

Internal link within same domain

other()

@spec other() :: t()

Other protocol or unclassifiable

phone()

@spec phone() :: t()

Phone link (tel:)