Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HTMLFormatter = NewHTMLFormatter()
Functions ¶
func FormatHTML ¶
Types ¶
type Formatter ¶
type Formatter struct {
TabWidth int
Prefix string
LineNumbers bool
LineNumbersInTable bool
LinkableLineNumbers bool
LineNumbersIDPrefix string
BaseLineNumber int
}
Formatter that generates HTML.
func NewHTMLFormatter ¶
func NewHTMLFormatter() *Formatter
NewHTMLFormatter configures an HTML formatter.
Click to show internal directories.
Click to hide internal directories.