Gist a github feature for sharing language specific formatted code


Finally after months and months I’ve found a neat, clear, formatted and even version controlled way of sharing code snippets.

Gist allows you to have language specific formatted code and embed it in any HMTL page or in a free blog like this one.

Here below is an example!


public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}

Hope this post helps people out there encouraging them to move all the embedded code that for years we’ve been raw pasting in our blogs, tidy them up and re-add in a cleaner, clearer way!

1 thought on “Gist a github feature for sharing language specific formatted code

  1. […] Gist a github feature for sharing language specific formatted code. […]

Leave a comment