Syntax highlight and reformat code