Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gist not getting color coded [closed]

Tags:

github

ruby

gist

I uploded some code gist.github but couldn't see them color formatted. I've changed language and tried couple of others which I had code for, but all of them are same.

Eg: Dummy Ruby code

How do I make it nicely color formatted?

like image 668
Aniruddha Avatar asked Mar 28 '14 15:03

Aniruddha


1 Answers

The language is determined by the file extension. If you enter a filename without a file extension (even if you select a language from the drop-down menu), it will default to Text.

Add .rb to your filename and it should work.

like image 88
blom Avatar answered Nov 08 '22 16:11

blom