Update formatting of example code