GeSHi

GeSHi is what it says on the box: a generic syntax highlighter. And an award-winning one at that. It started life in New Zealand as a project of Nigel McNie and has since attracted numerous contributors who have added support for dozens of programming languages.