Skip to content

Markdown preview in Agents app remains stale #316067

Closed as duplicate
Closed as duplicate

Description

if a markdown file is previewed and closed, then is edited and then opened with the terminal in the agents app, the preview is stale.

Steps to Reproduce:

  • ask agent to create a markdown
  • in the terminal, run code-insiders
  • preview it. and then close the window
  • ask the agent to make changes to the same markdown
  • preview the file once more

Activity

  1. added
    markdown-ext
    on May 12, 2026
  2. alexdima commented on Nov 7, 2026

    @alexdima
    Member

    This isn't specific to the Agents window. I reproduced it in a regular editor window on Insiders 1.145.0:

    • Preview notes.md from the Explorer, close all editors, and wait about 3 minutes.
    • Overwrite the file on disk, the way an agent does.
    • Reopen notes.md and open the preview. It still shows the old content.

    It's the markdown preview's version cache. PRs #332081 and #333712 address the close-and-reopen path. Tracking this in #265277.

    Duplicate of #265277

    316067-stale-preview.png

    🤖 Authored with GitHub Copilot on behalf of Alexandru Dima (@alexdima).

  3. added
    *duplicate
    and removed on Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*duplicatemarkdown-ext

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions