You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Markdown (.md) files do not show diff content in review panel (only summary card) #18321
I can reproduce this issue on Windows 11 as well, and I found a more specific pattern that may help narrow it down.
The hover diff preview works correctly, while the Review sidebar sometimes does not.
For the exact same Markdown change:
Hovering over View changes correctly shows the full line-by-line diff, including added and deleted lines.
Clicking it and opening the same change in the Review sidebar may result in no detailed diff being displayed.
Code files usually work correctly.
For .md files, deletion-only changes generally display correctly.
Markdown changes containing added lines are much more likely to trigger the problem, although it is not 100% reproducible.
I attached a screenshot showing the working hover preview. The same change may fail after opening it in the Review sidebar.
Since the hover preview can render the exact same diff correctly, the underlying diff data appears to be available. This may be specific to the Markdown rendering path used by the Review sidebar.
I also wonder whether this could be related to Markdown/Rich Preview rendering interfering with the raw diff presentation, although I haven't confirmed that.
Platform: Windows 11 Microsoft Windows NT 10.0.26200.0 x64
Codex version: 26.903.11726
Activity
jyx114514 commentedon Sep 4, 2026
I can reproduce this issue on Windows 11 as well, and I found a more specific pattern that may help narrow it down.
The hover diff preview works correctly, while the Review sidebar sometimes does not.
For the exact same Markdown change:
Hovering over View changes correctly shows the full line-by-line diff, including added and deleted lines.
Clicking it and opening the same change in the Review sidebar may result in no detailed diff being displayed.
Code files usually work correctly.
For .md files, deletion-only changes generally display correctly.
Markdown changes containing added lines are much more likely to trigger the problem, although it is not 100% reproducible.
I attached a screenshot showing the working hover preview. The same change may fail after opening it in the Review sidebar.
Since the hover preview can render the exact same diff correctly, the underlying diff data appears to be available. This may be specific to the Markdown rendering path used by the Review sidebar.
I also wonder whether this could be related to Markdown/Rich Preview rendering interfering with the raw diff presentation, although I haven't confirmed that.
Platform: Windows 11 Microsoft Windows NT 10.0.26200.0 x64
Codex version: 26.903.11726