What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 122 Stack Exchange communities.

I stumbled into this question which contains a block of Ruby code with test specs. It seems as if the syntax highlighting does not work. Here is a screenshot in case it looks different on your browser.

Question using Ruby RSpec code

As suggested by Mat it would be nice to have the RSpec being rendered with the same scheme used for Ruby.

share|improve this question
1  
Fixed the post. The question doesn't have a ruby tag, so the language wasn't inferred. You should change this Q to a [feature-request] to have the [rspec] tag use ruby syntax highlighting if that's necessary... which I'm not sure about. Most should also have a ruby tag, shouldn't they? –  Mat Dec 21 '12 at 17:51
    
Ah. I did not know that tags are considered when the syntax highlighting decision machine inspects the code. –  JJD Dec 21 '12 at 17:53
add comment

You must log in to answer this question.

Browse other questions tagged .