Skip to content

mermaid diagram not displaying the text in preview #50172

Description

@shettydev

I simply opened the markdown preview with a mermaid diagram, and it doesn't seem to render it correctly (not in the correct diagram format) nor is it even displaying any text

Reproduction steps

  1. Open a markdown file, with a mermaid diagram
  2. Press ctrl + shift + v or the "Preview Markdown" button
  3. Checkout the mermaid diagram flow in the preview

Current vs. Expected behavior

Current behavior:

Image

Expected behavior:

Image

Zed version and system specs

Zed: v0.225.9+stable.181.cbc2b428b9003b31077f91f06f8912880b1dbcf4 (Zed)
OS: Linux X11 ubuntu 24.04
Memory: 47 GiB
Architecture: x86_64
GPU: NVIDIA GeForce RTX 3060 || NVIDIA || 535.288.01

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/mermaidFeedback for Zed's Mermaid diagram supportreach:many usersBugs that happen for at least a third of the users across all platforms and kinds of usageseverity:S2Average run-of-the-mill bugs; a feature is broken but only partially

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions