code coloring in github README

github

Solution

You can add a language hint like so:

javascript // Your code here

`

Problem

I use github. My README.md contains code samples. How can I make this code appear in color when viewing my README in the github with a browser? I am willing to use gists but not sure how to integrate them in the README.

Original source