formatting of diffs doc