source-highlight

Syntax highlighter for source code with HTML/ANSI output

brewmacoslinux
Try with needOr install directly
Source

About

Source-code syntax highlighter

Commands

source-highlight

Examples

Highlight a Python file and display in terminal$ source-highlight -i script.py -o STDOUT
Convert Java source file to HTML with colors$ source-highlight -i Main.java -o output.html
Highlight code with line numbers in terminal$ source-highlight -i config.sh -o STDOUT -n