Format code for presentation