I'm really into writing documentation, and very often, this documentation must include code samples.
- involved very little hassle in setting up,
- worked like a real parser using parse trees to ensure accurate highlighting,
- and provided decent coverage of the most common programming languages in use today.
- SHJS. This is more full featured than the Google tool, and supports a wider range of languages. It appears to be more mature than the other two. Unlike the Google solution, it doesn't offer automatic detection of programming languages.