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:cd2834af6faec95ba72da53570d99ea0eac38dbafd9303b8cc9c178fc3d201ae
# 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