What syntax highlighter is GitHub using on their site to display the code when you click on the file names?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As this help page of GitHub.com says, they’re using the Linguist library, which is written in Ruby.
Linguist’s highlighters for each language are within
vendor/grammars. And a list of supported languages can be found here, here, and here.