reformat code examples