jekyll-github-sample
By bwillis
Two Jekyll Liquid tags to display a code sample from a file in a public Github repo and provide a reference to it
To install, add this to your Gemfile:
gem "jekyll-github-sample"
  and run bundle install. To use, run Jekyll with
  bundle exec preceding it:
$ bundle exec jekyll build
$ bundle exec jekyll serve