HtmlToMarkdown. NodeContext
(html_to_markdown v3.5.7)
Copy Markdown
Context information passed to all visitor methods.
Provides comprehensive metadata about the current node being visited, including its type, attributes, position in the DOM tree, and parent context.
Summary
Types
@type t() :: %HtmlToMarkdown.NodeContext{ attributes: map(), depth: non_neg_integer(), index_in_parent: non_neg_integer(), is_inline: boolean(), node_type: String.t() | nil, parent_tag: String.t() | nil, tag_name: String.t() | nil }
Context information passed to all visitor methods.