HtmlToMarkdown. NodeType
(html_to_markdown v3.5.7)
Copy Markdown
Node type enumeration covering all HTML element types.
This enum categorizes all HTML elements that the converter recognizes, providing a coarse-grained classification for visitor dispatch.
Summary
Functions
Abbreviation
Article element
Aside element
Audio element
Base element
Blockquote element
Body element
Line break (br)
Button element
Canvas element
Citation
Inline code (code)
Custom element (web components) or unknown tag
Data element
Definition description (dd)
Definition list (dl)
Definition term (dt)
Deleted text
Details element
Generic div container
Generic element node
Emphasis/italic (em, i)
Fieldset element
Figure caption
Figure element
Footer element
Form element
Head element
Header element
Heading elements (h1-h6)
Horizontal rule
HTML root element
Iframe element
Image (img)
Input element
Inserted text
Keyboard input
Label element
Legend element
Anchor link (a)
Link element (not anchor)
Ordered or unordered list (ul, ol)
List item (li)
Main element
Mark/highlight (mark)
Meta element
Meter element
Navigation element
Option element
Output element
Paragraph element
Picture element
Preformatted text block
Progress element
Quote
Ruby parenthesis
Ruby text
Ruby annotation
Sample output
Script element
Section element
Select element
Slot element
Small text (small)
Source element
Span element
Strikethrough (s, del, strike)
Strong/bold (strong, b)
Style element
Subscript (sub)
Summary element
Superscript (sup)
SVG element
Table element
Table body (tbody)
Table cell (td, th)
Table foot (tfoot)
Table head (thead)
Table header cell (th)
Table row (tr)
Template element
Text node (most frequent - 100+ per document)
Textarea element
Time element
Title element
Underline (u, ins)
Variable
Video element
Types
@type t() ::
:text
| :element
| :heading
| :paragraph
| :div
| :blockquote
| :pre
| :hr
| :list
| :list_item
| :definition_list
| :definition_term
| :definition_description
| :table
| :table_row
| :table_cell
| :table_header
| :table_body
| :table_head
| :table_foot
| :link
| :image
| :strong
| :em
| :code
| :strikethrough
| :underline
| :subscript
| :superscript
| :mark
| :small
| :br
| :span
| :article
| :section
| :nav
| :aside
| :header
| :footer
| :main
| :figure
| :figcaption
| :time
| :details
| :summary
| :form
| :input
| :select
| :option
| :button
| :textarea
| :label
| :fieldset
| :legend
| :audio
| :video
| :picture
| :source
| :iframe
| :svg
| :canvas
| :ruby
| :rt
| :rp
| :abbr
| :kbd
| :samp
| :var
| :cite
| :q
| :del
| :ins
| :data
| :meter
| :progress
| :output
| :template
| :slot
| :html
| :head
| :body
| :title
| :meta
| :link_tag
| :style
| :script
| :base
| :custom
Node type enumeration covering all HTML element types.
Functions
@spec abbr() :: t()
Abbreviation
@spec article() :: t()
Article element
@spec aside() :: t()
Aside element
@spec audio() :: t()
Audio element
@spec base() :: t()
Base element
@spec blockquote() :: t()
Blockquote element
@spec body() :: t()
Body element
@spec br() :: t()
Line break (br)
@spec button() :: t()
Button element
@spec canvas() :: t()
Canvas element
@spec cite() :: t()
Citation
@spec code() :: t()
Inline code (code)
@spec custom() :: t()
Custom element (web components) or unknown tag
@spec data() :: t()
Data element
@spec definition_description() :: t()
Definition description (dd)
@spec definition_list() :: t()
Definition list (dl)
@spec definition_term() :: t()
Definition term (dt)
@spec del() :: t()
Deleted text
@spec details() :: t()
Details element
@spec div() :: t()
Generic div container
@spec element() :: t()
Generic element node
@spec em() :: t()
Emphasis/italic (em, i)
@spec fieldset() :: t()
Fieldset element
@spec figcaption() :: t()
Figure caption
@spec figure() :: t()
Figure element
@spec form() :: t()
Form element
@spec head() :: t()
Head element
@spec header() :: t()
Header element
@spec heading() :: t()
Heading elements (h1-h6)
@spec hr() :: t()
Horizontal rule
@spec html() :: t()
HTML root element
@spec iframe() :: t()
Iframe element
@spec image() :: t()
Image (img)
@spec input() :: t()
Input element
@spec ins() :: t()
Inserted text
@spec kbd() :: t()
Keyboard input
@spec label() :: t()
Label element
@spec legend() :: t()
Legend element
@spec link() :: t()
Anchor link (a)
@spec link_tag() :: t()
Link element (not anchor)
@spec list() :: t()
Ordered or unordered list (ul, ol)
@spec list_item() :: t()
List item (li)
@spec main() :: t()
Main element
@spec mark() :: t()
Mark/highlight (mark)
@spec meta() :: t()
Meta element
@spec meter() :: t()
Meter element
@spec option() :: t()
Option element
@spec output() :: t()
Output element
@spec paragraph() :: t()
Paragraph element
@spec picture() :: t()
Picture element
@spec pre() :: t()
Preformatted text block
@spec progress() :: t()
Progress element
@spec q() :: t()
Quote
@spec rp() :: t()
Ruby parenthesis
@spec rt() :: t()
Ruby text
@spec ruby() :: t()
Ruby annotation
@spec samp() :: t()
Sample output
@spec script() :: t()
Script element
@spec section() :: t()
Section element
@spec select() :: t()
Select element
@spec slot() :: t()
Slot element
@spec small() :: t()
Small text (small)
@spec source() :: t()
Source element
@spec span() :: t()
Span element
@spec strikethrough() :: t()
Strikethrough (s, del, strike)
@spec strong() :: t()
Strong/bold (strong, b)
@spec style() :: t()
Style element
@spec subscript() :: t()
Subscript (sub)
@spec summary() :: t()
Summary element
@spec superscript() :: t()
Superscript (sup)
@spec svg() :: t()
SVG element
@spec table() :: t()
Table element
@spec table_body() :: t()
Table body (tbody)
@spec table_cell() :: t()
Table cell (td, th)
@spec table_foot() :: t()
Table foot (tfoot)
@spec table_head() :: t()
Table head (thead)
@spec table_header() :: t()
Table header cell (th)
@spec table_row() :: t()
Table row (tr)
@spec template() :: t()
Template element
@spec text() :: t()
Text node (most frequent - 100+ per document)
@spec textarea() :: t()
Textarea element
@spec time() :: t()
Time element
@spec title() :: t()
Title element
@spec underline() :: t()
Underline (u, ins)
@spec var() :: t()
Variable
@spec video() :: t()
Video element