Format the code samples