Re:What's this programming language?
by nithinbekal on Saturday June 02, 2012 @02:42AM
(#4057312)
OP here. I can't take credit for that, though. ;-)
It uses the highlight.js API for making the guesses, which provides the 2nd best option as well. :)
http://i.imgur.com/wITwa.png
Update:
Reading your blog post, I see that this is a wrapper around highlight.js, which is doing the language-guessing (including the second-best guess): http://softwaremaniacs.org/wiki/doku.php/highlight.js:api