creates images of code snippets .
like any other go program:
go install github.com/juliusmh/snippit@latestThe font used is RobotoMono. Currently, this is fixed. The default render resolution
is pretty low, given the default line height of 17. In order to increase resolution
use the -scale X flag (default X=1). To see all available options use the -help flag.
Syntax highlighting is performed by chroma. For a list of all styles I recommend xyproto/splash's demo page. For a list of all lexers checkout chroma/lexers.
snippit -l -w testdata/test.go -lTo show line numbers-wTo show window
snippit -l -w -bw 0 -style solarized-light testdata/test.yaml -bwBorder Width zero (hide border)-styleApply stylesheetsolarized-light
snippit -br 0 -style xcode-dark testdata/test.py-brBorder Radius zero
- Filename in window header (decoration)
- SVG output option


