thanks to chroma
➜ code2svg git:(master) ✗ go run main.go -h
code2svg tool in golang to generate svg image contains source code
Version: 0.0.1
Usage: code2svg [-hvio] [-h help] [-v version] [-i input source code file path] [-o output svg file path] [-t highlight theme]
Options
-h help info
-i string
input source code file path
-o string
output svg file path (default "code.svg")
-t string
highlight theme (default "dracula")
-v version info