Formatting and displaying code