Use pygmentize
as a colorized cat
The less
command uses a programmable filter with which you can colorize
its output.
In this article an alias to do the same for cat
is shown.