idan/gistio — pull request #38 by surma (2012-08-18 00:02:16+00:00)
Title: Implement gist embedding

While writing a blog post in a gist with the aim of publishing it using gist.io I discovered that using Github's Gist embedding mechanism is not supported. No surprise there, actually.

But providing some syntax for embedding gists would actually solve the already existing syntax highlighting issue – so I took a swing at it and enabled `` tags.

Here is an [example](https://gist.github.com/3382937) of how my implementation works (take a `raw` look at the Markdown file). Since the way GitHub serves their syntax highlighting (using `document.write`), the solution is somewhat inelegant and relies on [Injector.js](https://github.com/joshduck/Injector.js).

Looking forward to your feedback.