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!

Comments

No comments available.

Leave a Reply

Your email address will not be published.