Download raw body.
[NEW] textproc/go-chroma
Hello, ports! Attached is a new port that is used for colorizing many languages into various output types. The main part of the port is the gochroma binary. It takes an input and performs some syntax highlighting on it. You can use it, for example, in cgit to make your code display on the web page more colorful. The project also comes with a web site, but I don’t see much practical use for it beside looking nice so I just separated it into a subpackage to avoid installing a whole bunch of unnecessary stuff. I think it’s mostly used for demonstrative purposes. Any feedback is welcome. Package info below. Comment: general purpose syntax highlighter in pure Go Description: Chroma takes source code and other structured text and converts it into syntax highlighted HTML, ANSI-coloured text, etc. Chroma is based heavily on Pygments, and includes translators for Pygments lexers and styles. Maintainer: Igor Zornik <mocheryl@mocheryl.org> WWW: https://github.com/alecthomas/chroma
[NEW] textproc/go-chroma