reformat code example