Announcements

GitHub Code on WordPress

I have decided that I am going to start migrating some of my custom code snippets to GitHub so it can be viewed there at a glance instead of having to snoop through my blog. In order to still display the code here, I created a custom function.

First, I added this to my functions file to enable embedding of gists. Then I modified that code (which is what is displaying the file below!) to use emgithub.com in order to display other GitHub files.

Check it out!

[gist]d124d1a0bae0cb2f7f58fde430e68e13[/gist]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.