htmlpretty

package module
v0.0.0-...-e6637fa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2023 License: BSD-3-Clause Imports: 5 Imported by: 1

README

Documentation

Overview

Package htmlpretty pretty-prints HTML5 documents.

Index

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.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL