package
1.24.0-dev
Repository: https://github.com/go-gitea/gitea.git
Documentation: pkg.go.dev

# Functions

Code returns a HTML version of code string with chroma syntax highlighting classes and the matched lexer name.
CodeFromLexer returns a HTML version of code string with chroma syntax highlighting classes.
File returns a slice of chroma syntax highlighted HTML lines of code and the matched lexer name.
NewContext loads custom highlight map from local config.
PlainText returns non-highlighted HTML for code.