Pygments | Source-highlight | Highlight | |
---|---|---|---|
Debian package | python-pygments | source-highlight | highlight |
Dependencies | Python | C++, Boost | C++ |
License | BSD | GPL 2+ | GPL 3+ |
Input Languages | 136 | 30 | 143 |
Output Languages | ~11 | ~6 | ~9 |
Styles | 16 | 5 | 40 |
Performance test | 6 min | 64 sec | 67 sec |
So for interactive use, it looks like a pretty close call between Source-highlight and Highlight, unless you need one of the additional input formats supplied by Highlight. It appears that Highlight supports SGML files out of the box, unlike the other two, which could make it interesting for me.
It is important to run highlight with the --xterm256 switch instead of --ansi which give more colours.
ReplyDelete