chrisallenlane/cheat — pull request #27 by larsyencken (2013-08-21 07:07:19+00:00)
Title: Syntax-highlight output using Pygments

Building on the earlier pull request which allows suffixes, this one introduces a dependency on Pygments, and causes cheatsheets with a known language suffix (e.g. `audio.py`) to be syntax highlighted in the console using the appropriate lexer.

The default lexer, when there is no suffix, highlights shell syntax. If a suffix exists, but no known lexer is found, it will default to text (i.e. no highlighting).