go get

Package sandman implements highlights code using pygments over a python bridge using If go-python doesn't compile correctly try

$ cd $GOPATH/src/
$ make


Package Files


func Highlight

func Highlight(code string, lexer string, linenos bool) string

Highlight higlights the given code snippet with the given lexer name. Adds line numbers if it linenos is true. List of available lexers are: