A quick jQuery plugin for asynchronously embedding a gist in an HTML document.
There are a couple of ways to use it. The simpler way is replacing all Gist links in document by their embedded version:
<script>$($.gist);</script>
All links that point to a gist, or gist file will be replaced by the corresponding embedded gist, or gist file.
Gist link replacement can also be called on a container element: