Documentation
¶
Overview ¶
something like pygments in go written before I discovered https://github.com/alecthomas/chroma
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lighter ¶
type Lighter struct {
// contains filtered or unexported fields
}
A syntax highlighter
type Options ¶
type Options struct {
Format OutputFormat
}
Options for creating a new highlighter. HTML or TTY output are supported.
Click to show internal directories.
Click to hide internal directories.