* testing code highlight with bfchroma render * add bfchroma vendoring * render code htm with classes * adjust bfchroma test cases inside formatter * go mod tidy * fix markdown code render tests * adjust comment text sanitizer to permit code HTML classes * go mod tidy * add chroma classes list regexp * unify gitignore entries style Co-authored-by: Umputun <umputun@gmail.com>
8 lines
326 B
Go
8 lines
326 B
Go
// Package 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.
|
|
//
|
|
// For more information, go here: https://github.com/alecthomas/chroma
|
|
package chroma
|