HtmlToMarkdown.DocumentStructure (html_to_markdown v3.6.0-rc.21)

Copy Markdown

A structured document tree representing the semantic content of an HTML document.

Uses a flat node array with index-based parent/child references for efficient traversal.

Summary

Types

t()

A structured document tree representing the semantic content of an HTML document.

Types

t()

@type t() :: %HtmlToMarkdown.DocumentStructure{
  nodes: [map()],
  source_format: String.t() | nil
}

A structured document tree representing the semantic content of an HTML document.