Format code examples