Was looking for a quick and easy way of pretty-printing a diff as a HTML file. Typically I've used enscripten for all my pretty-printing purposes, but sadly the HTML output highlights added and removed lines the same colour.
While not quite as nice for doing printed output, it really shines for console and HTML use with a large selection of highlighters, preprocessors and colour themes. Be sure to check it out.
It has a few different outputs including console, 256-colour console, RTF, TeX and HTML (either as a HTML fragment or a full page). It's also quite extensible, so you can easily write new backends. About the only thing it doesn't do well is producing PDF or postscript for printing.
For example, you could use `pygmentize -ldiff` as an alternative to `cdiff`. Python also has a command line version of difflib included in the standard documentation which isn't bad.
"About the only thing it doesn't do well is producing PDF or postscript for printing." Isn't that Latex's job, after Pygments spits out a Tex file?
Probably, yes (I wasn't able to get it working in my quick test at work). I still think Enscripten is a better tool for paper copies (pretty printing, 2-up, titles, colour, footers and a whole bunch of other nice print formatting options).