Format code example