Skip to content

Zed's "Preview Markdown" view does not re-render correctly when markdown file is edited by agent. #47900

@mattavent

Description

@mattavent

Reproduction steps

  1. Create a markdown file (e.g. via an agent)
  2. Click the "preview markdown" button and view the nice render
  3. Ask agent to update the .md file a few times
  4. Preview render sometimes updates correctly but often doesn't and gets in a mess.

Current vs. Expected behavior

Preview should fully rerender whenever the .md file is touched

Zed version and system specs

Zed: v0.220.6+stable.133.6a75953cd3a6512d120cf6d3cc96eeaa14f827ff (Zed)
OS: macOS 15.6.1
Memory: 64 GiB
Architecture: aarch64

Attach Zed log file

Zed.log

Relevant Zed settings

settings.json

Relevant Keymap

keymap.json

(for AI issues) Model provider details

No response

If you are using WSL on Windows, what flavor of Linux are you using?

None

Metadata

Metadata

Assignees

Labels

area:preview/markdownfrequency:alwaysBug that happens for everyone on every platform no matter how they use Zedpriority:P3Papercuts, minor issues with a clear workaround, cosmetic bugsstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduce

Type

No fields configured for Bug.

Projects

Status

Bug Bashers

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions