Documentation
¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_STYLE = "monokai" //DEFAULT_FORMATTER = "terminal16m" MAX_READ_SIZE = 10_000_000 )
Variables ¶
This section is empty.
Functions ¶
func Go ¶
func Go(w io.WriteCloser, r io.ReadCloser, o Options) error
Types ¶
type Chroma ¶
type Chroma struct {
// contains filtered or unexported fields
}
func (*Chroma) HighLight ¶
func (h *Chroma) HighLight(w io.WriteCloser, r io.ReadCloser, o Options) error
type Highlighter ¶
type Highlighter interface {
HighLight(w io.WriteCloser, r io.ReadCloser, o Options) error
// contains filtered or unexported methods
}
Click to show internal directories.
Click to hide internal directories.