Adding custom validation support. Some minor styling to improve the look...

... of the newly added gist. Removed prettify as a code example thingy