Reformat summary text in code block