An example of how to use highlight.js to identify programming languages.
JavaScript
Latest commit 2fe6fe7 Jun 2, 2012 @nithinbekal Fix link to blog post.
Permalink
Failed to load latest commit information.
css Add links to github and blog post in footer May 20, 2012
javascript Initial commit May 16, 2012
.gitignore Initial commit May 16, 2012
README.md Add README May 16, 2012
index.html Fix link to blog post. Jun 2, 2012

README.md

An example of how to use highlight.js to identify programming languages.

http://softwaremaniacs.org/soft/highlight/en/

This uses the highlightAuto(code) method in highlight,js to identify the language. It isn't very accurate, but longer code snippets are more likely to be recognized correctly.