Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Formatter ¶
Formatter is func that returns a custom formatter for Chroma that uses Lip Gloss for foreground styling, while keeping a forced background color.
func MatchLexer ¶
MatchLexer returns the chroma lexer for the given filename, coalesced and memoized. It returns nil when no lexer matches (callers can fall back to content analysis). The returned lexer is safe to reuse across calls.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.