README ¶ Moved to https://codeberg.org/derat/htmlpretty Expand ▾ Collapse ▴ Documentation ¶ Overview ¶ Package htmlpretty pretty-prints HTML5 documents. Index ¶ func Print(w io.Writer, root *html.Node, indent string, wrap int) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Print ¶ func Print(w io.Writer, root *html.Node, indent string, wrap int) error Print pretty-prints the supplied HTML document to w. The supplied indent string is used for a single level of indenting. If wrap is positive, lines will be wrapped at that many bytes where possible. Types ¶ This section is empty. Source Files ¶ View all Source files print.go Directories ¶ Show internal Expand all Path Synopsis cmd htmlpretty Click to show internal directories. Click to hide internal directories.