Reputation: 17476
I am wondering if there is any general syntax highlighter for some popular languages such as C, C++, PHP, Ruby and some others.
I found some syntax highlighter gem that works for Ruby, but it does not seem to support C, or C++.
I see StackOverflow has a good syntax highlighter for codes.
Does anyone know of gem that supports this feature?
Upvotes: 0
Views: 861
Reputation: 6857
The second one infact does automatic language detection and works completely in the client side.
Upvotes: 1