A parsed document, or an element, as a page's DOMParser gives it; nothing is fetched.
Optional options: ReadHtmlOptionsThe bounds on the Markdown and on each table.
RangeError for a bound below 0, NaN or no number at all (null, a numeric text, true).
Reads a parsed HTML page into its title and its body as Markdown. The body leaves out the head, scripts, styles, templates,
noscript,nav,search, the page's ownheader,footerandaside, frames, aformthat holds no page, the controls of a form that hold words of their own (button,select,textarea) and adatalistwith its choices, embedded media, drawings in SVG and formulas in MathML, adialogthat is not open, and any element markedhidden,aria-hidden="true"or styleddisplay: none. Aheader,footerorasideis the page's own when noarticleorsectionholds it but a section that holds the page's main content, amainelement or an element whose role ismain, and so wraps the page; inside an article or any other section, it is that part's and is read with it, and anarticleorsectionhanded over holds its own the same way. Aheaderinside the page's main content that holds anh1introduces that content: its headings,hgroups and paragraphs are read, and the rest of it, a menu or a list of links beside them, is the page's own; one that holds noh1is the page's own whole. Aformis read as the blocks it holds when it holds a page: a heading, anarticle,aside,navorsection, the page's main content, aheader, afooteror a table's header cell (th), as a table of data holds; when it is the page's main content itself; or when it is the one element the body holds, as a page whose whole body sits in one form does. The header cells of a table with a row that puts one beside atdof a control and no words, as a contact form laid out in a table puts its labels, mark no page. A heading whose words all sit in its onebutton, as an accordion's header's do, is read for that button's words. A form's control, an image and the rest of HTML's embedded content are each a space between the words on either side of them, outside code. Comments are not read. An element handed over is read as a document is, whatever its own name, but ansvgormathelement handed over takes no title from a<title>in it, which is the drawing's or the formula's.