Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Formatter ¶
type HtmlFormat ¶
type HtmlFormat struct {
Style string
}
func NewHtmlFormat ¶
func NewHtmlFormat(style string) HtmlFormat
func (HtmlFormat) FormatTokens ¶
func (f HtmlFormat) FormatTokens(w io.Writer, tokens golightan.Tokens)
type RawTokenFormat ¶
type RawTokenFormat struct { }
func NewRawTokenFormat ¶
func NewRawTokenFormat() RawTokenFormat
func (RawTokenFormat) FormatTokens ¶
func (f RawTokenFormat) FormatTokens(w io.Writer, tokens golightan.Tokens)
type TerminalFormat ¶
type TerminalFormat struct {
// contains filtered or unexported fields
}
func NewTerminalFormat ¶
func NewTerminalFormat() TerminalFormat
func (TerminalFormat) FormatTokens ¶
func (f TerminalFormat) FormatTokens(w io.Writer, tokens golightan.Tokens)
Click to show internal directories.
Click to hide internal directories.