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:f8026f1bd5c957d54c05eab1d6eace9df28d99dae19dfe307c25ea4ef8344e6b
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
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