Skip to main content

Module html

Module html 

Source
Expand description

HTML5 writer: mirrors docutils.writers.html5_polyglot output shape (full document with <head> metadata, semantic body elements). Byte-parity with CPython output is not claimed; structural parity is tested in tests/parity.rs.

Structs§

Ctx
Writer context: footnote/citation label maps built per document.
Html

Functions§

esc
render_fragment
Render only the body fragment (no <html> shell).
render_html5
Render a full HTML5 document.
render_pseudoxml
Render pseudo-XML (node dump, mirrors pseudoxml writer shape loosely).