Mermaid diagrams on GitHub have stopped rendering #203196
🏷️ Discussion TypeBug 💬 Feature/Topic AreaOther BodyMermaid diagrams have stopped rendering for me on the GitHub platform. It tries to load for a while and then displays the message "Unable to render rich display" and the mermaid code below. The same diagrams rendered correctly a couple of weeks ago, but have now just stopped. Is this a bug, or has GitHub stopped supporting mermaid? |
Replies: 2 comments 2 replies
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
|
Mermaid support hasn't been removed. GitHub renders these diagrams in a sandboxed iframe served from a different host than github.com: That's still embedded in file pages right now, and the endpoint is up — I get HTTP 200 in about a second. "Unable to render rich display" is what you see when that iframe fails, not a sign the feature is gone. The detail in your description that matters is "it tries to load for a while and then displays the message." A mermaid syntax error fails almost immediately. A long spin followed by that message means the iframe never loaded at all — so the first thing to check is whether something is blocking In order:
Given "the same diagrams rendered correctly a couple of weeks ago" with no change on your side, and that they're your own unchanged diagrams, network or extension blocking is where I'd put money. Corporate networks that allowlist Reference: Creating diagrams. |
Mermaid support hasn't been removed. GitHub renders these diagrams in a sandboxed iframe served from a different host than github.com:
That's still embedded in file pages right now, and the endpoint is up — I get HTTP 200 in about a second. "Unable to render rich display" is what you see when that iframe fails, not a sign the feature is gone.
The detail in your description that matters is "it tries to load for a while and then displays the message." A mermaid syntax error fails almost immediately. A long spin followed by that message means the iframe never loaded at all — so the first thing to check is whether something is blocking
…