I tested this on two different repos. The diff generates, but images (including raw links) are invalid. All of Old - New - Diff, both the in-github preview and the raw link.