Directories
¶
| Path | Synopsis |
|---|---|
|
Package blocks turns an HTML document tree into the blocks of the shared model: headings, paragraphs, list items, tables, code, quotes, captions, images, comments and form values, with white space collapsed as CSS white-space: normal does, links and styles as spans, and the display reasons the page declares.
|
Package blocks turns an HTML document tree into the blocks of the shared model: headings, paragraphs, list items, tables, code, quotes, captions, images, comments and form values, with white space collapsed as CSS white-space: normal does, links and styles as spans, and the display reasons the page declares. |
|
Package charset decides the character encoding of an HTML document and decodes it to UTF-8, keeping a map from offsets in the decoded text back to offsets in the source bytes.
|
Package charset decides the character encoding of an HTML document and decodes it to UTF-8, keeping a map from offsets in the decoded text back to offsets in the source bytes. |
|
Package css reads the declarations of an inline style attribute that say how content is displayed: display, visibility, opacity, the alpha of the text colour, and white-space.
|
Package css reads the declarations of an inline style attribute that say how content is displayed: display, visibility, opacity, the alpha of the text colour, and white-space. |
|
Package dom builds a document tree from HTML tokens, recovering from tag soup the way the WHATWG HTML standard's tree construction does for the cases that change what text belongs where: implied end tags (p, li, dd, dt, option, table cells and rows), misnested formatting elements (a simplified adoption agency algorithm), reopening of formatting elements closed by a block, foster parenting of content misplaced in tables, foreign content (SVG, MathML) and the elements that break out of it.
|
Package dom builds a document tree from HTML tokens, recovering from tag soup the way the WHATWG HTML standard's tree construction does for the cases that change what text belongs where: implied end tags (p, li, dd, dt, option, table cells and rows), misnested formatting elements (a simplified adoption agency algorithm), reopening of formatting elements closed by a block, foster parenting of content misplaced in tables, foreign content (SVG, MathML) and the elements that break out of it. |
|
Package entity resolves HTML character references: the named references of the WHATWG HTML standard (section 13.5, embedded from entities.txt) and the numeric ones with the standard's replacement rules.
|
Package entity resolves HTML character references: the named references of the WHATWG HTML standard (section 13.5, embedded from entities.txt) and the numeric ones with the standard's replacement rules. |
|
Package epub reads the container of an EPUB 2 or 3 publication: the zip archive, META-INF/container.xml, the package document (OPF) with its metadata, manifest and spine, the navigation (EPUB 3 nav document or EPUB 2 NCX) and META-INF/encryption.xml.
|
Package epub reads the container of an EPUB 2 or 3 publication: the zip archive, META-INF/container.xml, the package document (OPF) with its metadata, manifest and spine, the navigation (EPUB 3 nav document or EPUB 2 NCX) and META-INF/encryption.xml. |
|
Package lexer is an HTML tokenizer following the WHATWG HTML standard, section 13.2.5 "Tokenization", for the states that decide what text a document holds: data, RCDATA, RAWTEXT, script data with its escaped states, PLAINTEXT, tags and attributes, comments, bogus comments, DOCTYPE, CDATA sections in foreign content, and character references.
|
Package lexer is an HTML tokenizer following the WHATWG HTML standard, section 13.2.5 "Tokenization", for the states that decide what text a document holds: data, RCDATA, RAWTEXT, script data with its escaped states, PLAINTEXT, tags and attributes, comments, bogus comments, DOCTYPE, CDATA sections in foreign content, and character references. |
|
Package md parses Markdown, following the block and inline structure of CommonMark 0.31 (with the GFM tables, strikethrough, task lists and extended autolinks), and renders it to HTML as a CommonMark renderer does, keeping a map from offsets in the HTML back to offsets in the Markdown.
|
Package md parses Markdown, following the block and inline structure of CommonMark 0.31 (with the GFM tables, strikethrough, task lists and extended autolinks), and renders it to HTML as a CommonMark renderer does, keeping a map from offsets in the HTML back to offsets in the Markdown. |
Click to show internal directories.
Click to hide internal directories.