Skip to main content

Posts

Showing posts with the label GitHub

Using Github as a Syntax Highlighter for Your Blog or Website

A Gist is a snippet of code hosted by Github that has all of the benefits of a Github repository, but provides them to you in a more lightweight way. Not only are public Gists free to create and store on Github they are also super easy. You can create a new Gist, add, modify, and delete files and code entirely in the browser. You don't need to install or download anything. As developers, bloggers, and/or website owners we can create Gists that contain example code and embed them on our site. By doing this, we get the huge benefit of having all of our source code hosted and backed up separate from your website. Your Gists are also indexed by Google using Githubs Google Juice (better Page Ranking) and you also get to leverage part of the fantastic infrastructure that Github has. Letting Github host and display your code in a clean and maintainable way is easy, just follow these simple steps: Step 1: Create a Gist     Log in to Github     Click the Gist link a...