format code with new lines