Format longer code examples in ruby