What’s That Syntax Highlighting Scheme?

Railscasts logo
Back in my last post, I mentioned switching to highlight.js. Today, I wanted to talk to you about the theme I used to highlight the examples (most) on the Visoft, Inc. Blog. I’m a huge fan of Ryan Bates’ RailsCasts. They are an incredible resource for learning and continuing to learn about Rails and various gems and techniques.

Ryan just released episode #400 (What’s New in Rails 4) of RailsCasts! Congratulations Ryan!

If you’ve watched some of his videos, you’ve most likely seen his TextMate syntax highlighting scheme. I have used it for just about everything from vim to Sublime Text 2 to Visual Studio. It only seemed to make sense for me to build a highlight.js version of the theme.

I’m happy to say that my new theme has been merged into the main branch of highlight.js. You should be seeing it in a release soon. Can’t wait? You can pull the current file from GitHub. I would love to hear your feedback on the theme. I expect there to be tweaks along the line, so I would encourage you to fork the highlight.js project and modify the theme if you see something that isn’t right.

I am a software architect with over 13 years of experience. I simply love coding! I have a driving passion for computers and software development, and a thirst for knowledge that just cannot be quenched. I'm happy to share what I knows in my quest to learn as much as possible. I focus most of my time on web development using Ruby on Rails and ASP.NET MVC.