Slide code block overflow fix

This migrates via cherry-pick the commits from the http://teach.github.com site into the newly migrated destination of this repository.