Set language for a GitHub Gist
Lately I noticed my GitHub Gists were being saved as plain text files. Intuitively I click edit, change the language to something appropriate before updating the Gist.
Only to find nothing has changed and my Gist is still in plain text.
I was stumped.
After some digging it turns out you need to give your filename a proper extension and automagically the correct language is set.
Written by David Timmerman
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Gist
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#