title: how to embed github file to a github pages blog post
body: <p>I am creating a blog using github pages and jekyll. I wonder if there is a way to embed code snippets from a github <strong>file</strong> (i.e., a file in a repo) in a blog post. I can find a solution on this page about embedding gists: <a href="https://gist.github.com/benbalter/5555251" rel="noreferrer">https://gist.github.com/benbalter/5555251</a>.</p>
  
  <p>No direct solution for github files, though.</p>