Pygments is a syntax highlighter for source code written in Python. An online demo is available. Generate default stylesheet pygmentize -S default -f html -a .highlight > default.css Generate SVG of source code pygmentize -f svg -l bash -O style=monokai,linenos=1 -o commands.svg commands.sh
Pygments is a syntax highlighter for source code written in Python. An online demo is available.
Generate default stylesheet
pygmentize -S default -f html -a .highlight > default.css
Generate SVG of source code
pygmentize -f svg -l bash -O style=monokai,linenos=1 -o commands.svg commands.sh
Comments