Documentation ¶
Index ¶
- func Bash(content string) string
- func Batch(content string) string
- func C(content string) string
- func CPP(content string) string
- func CSharp(content string) string
- func Colorize(lexerName, content string) string
- func Diff(content string) string
- func Go(content string) string
- func JSON(content string) string
- func Java(content string) string
- func Python2(content string) string
- func Python3(content string) string
- func SetTheme(theme string) error
- func TOML(content string) string
- func YAML(content string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bash ¶
Bash - See reference: https://github.com/alecthomas/chroma/blob/master/lexers/b/bash.go
func Batch ¶
Batch - See reference: https://github.com/alecthomas/chroma/blob/master/lexers/b/batch.go
func C ¶
C - See reference: https://github.com/alecthomas/chroma/blob/master/lexers/c/c.go
func CPP ¶
CPP - See reference: https://github.com/alecthomas/chroma/blob/master/lexers/c/cpp.go
func CSharp ¶
CSharp - See reference: https://github.com/alecthomas/chroma/blob/master/lexers/c/csharp.go
func Diff ¶
Diff - See reference: https://github.com/alecthomas/chroma/blob/master/lexers/d/diff.go
func Go ¶
Go - See reference: https://github.com/alecthomas/chroma/blob/master/lexers/g/go.go
func JSON ¶
JSON - See reference: https://github.com/alecthomas/chroma/blob/master/lexers/j/json.go
func Java ¶
Java - See reference: https://github.com/alecthomas/chroma/blob/master/lexers/j/java.go
func Python2 ¶
Python2 - See reference: https://github.com/alecthomas/chroma/blob/master/lexers/p/python2.go
func Python3 ¶
Python3 - See reference: https://github.com/alecthomas/chroma/blob/master/lexers/p/python.go
func TOML ¶
TOML - See reference: https://github.com/alecthomas/chroma/blob/master/lexers/t/toml.go
func YAML ¶
YAML - See reference: https://github.com/alecthomas/chroma/blob/master/lexers/y/yaml.go
Types ¶
This section is empty.