How to highlight JSON and Javascript syntax with Ruby

Issue

I’ve found this gem called syntax which is pretty cool, but it doesn’t seem to generate syntax for javascript and json…

Is there a good way to highlight the syntax for these formats directly from ruby?

Thanks

Solution

There is a good run down of Ruby syntax highlighters here

Answered By – Matthew Abbott

Answer Checked By – Marie Seifert (AngularFixing Admin)

Leave a Reply

Your email address will not be published.