1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-01-12 01:22:30 +02:00
A general purpose syntax highlighter in pure Go
Go to file
2017-06-07 20:39:58 +10:00
_tools Add protobuf and thrift. 2017-06-07 19:47:59 +10:00
cmd/chroma Ensure ^C captures profile information. 2017-06-07 20:39:58 +10:00
formatters Rename formatter "tokens" -> "raw". 2017-06-07 20:13:25 +10:00
lexers Add protobuf and thrift. 2017-06-07 19:47:59 +10:00
styles Add protobuf and thrift. 2017-06-07 19:47:59 +10:00
.gitignore Initial commit 2017-06-07 19:47:08 +10:00
coalesce_test.go Use pointers to tokens + support regex flags in importer. 2017-06-07 19:47:59 +10:00
coalesce.go Generalise and support 8, 256 and 16m colour terminals. 2017-06-07 19:47:59 +10:00
colour_test.go Move style and formatter API into chroma package. 2017-06-07 19:47:59 +10:00
colour.go Move style and formatter API into chroma package. 2017-06-07 19:47:59 +10:00
formatter.go Move style and formatter API into chroma package. 2017-06-07 19:47:59 +10:00
lexer_test.go Use pointers to tokens + support regex flags in importer. 2017-06-07 19:47:59 +10:00
lexer.go Wire up content sniffing. 2017-06-07 19:47:59 +10:00
LICENSE Initial commit 2017-06-07 19:47:08 +10:00
Makefile Initial commit! Working! 2017-06-07 19:47:59 +10:00
mutators_test.go Add a bunch of automatically translated lexers. 2017-06-07 19:47:59 +10:00
mutators.go Generalise and support 8, 256 and 16m colour terminals. 2017-06-07 19:47:59 +10:00
README.md Wire up content sniffing. 2017-06-07 19:47:59 +10:00
style_test.go Move style and formatter API into chroma package. 2017-06-07 19:47:59 +10:00
style.go Move style and formatter API into chroma package. 2017-06-07 19:47:59 +10:00
tokentype_string.go Add a bunch of automatically translated lexers. 2017-06-07 19:47:59 +10:00
types.go Use pointers to tokens + support regex flags in importer. 2017-06-07 19:47:59 +10:00

Chroma - A general purpose syntax highlighter for Go

Chroma is inspired by Pygments.

Unsupported Pygments features

  • Autodetection from content.