Saturday, April 20, 2013

tools to format code before posting it online

gist.github.com
Snippets created as gists can be easily shared with others, who can also fork them, etc. It comes with code highlighting. To embed it in your blog/site you have to pull a javascript block, which might not be allowed everywhere (e.g. I think google-sites does not allow scripts)


codeformatter.blogspot.com
The result comes as an HTML code that can be copied and embeded on any web page