Current section

Files

Jump to
html_to_markdown lib html_to_markdown document_node.ex
Raw

lib/html_to_markdown/document_node.ex

# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:094484387808183514a801bab05d27e52c1d7d3d595e8913feed7cad1498eee3
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
# Issues & docs: https://github.com/kreuzberg-dev/alef
defmodule HtmlToMarkdown.DocumentNode do
@moduledoc "A single node in the document tree."
@typedoc "A single node in the document tree."
@type t :: %__MODULE__{
id: String.t() | nil,
content: String.t() | nil,
parent: non_neg_integer() | nil,
children: [non_neg_integer()],
annotations: [map()],
attributes: map() | nil
}
defstruct id: nil,
content: :heading,
parent: nil,
children: [],
annotations: [],
attributes: nil
end