github.com/alecthomas/chroma | Package chroma takes source code and other structured text and converts it into syntax highlighted HTML, ANSI- coloured text, etc. |
github.com/alecthomas/chroma/lexers/internal | Package internal contains common API functions and structures shared between lexer packages. |
github.com/dlclark/regexp2 | Package regexp2 is a regexp package that has an interface similar to Go's framework regexp engine but uses a more feature full regex engine behind the scenes. |
regexp | Package regexp implements regular expression search. |
strings | Package strings implements simple functions to manipulate UTF-8 encoded strings. |
unicode/utf8 | Package utf8 implements functions and constants to support text encoded in UTF-8. |