demo icon indicating copy to clipboard operation
demo copied to clipboard

Mermaid Demo Page Fails to Display Diagrams

Open DaisukeHirabayashi opened this issue 1 year ago • 1 comments

The Mermaid example on the Backstage demo page is not rendering the diagrams as expected. The issue can be observed on the following page.

Mermaid Example - Backstage Demo

Screenshot 2024-07-08 at 5 40 25 PM

Code Reference: https://github.com/backstage/demo/blob/master/docs/examples/mermaid.md?plain=1#L15-L20

Expected behavior:

  • The Mermaid diagrams should be rendered and visible.

Actual behavior:

  • The diagrams are not rendered.

DaisukeHirabayashi avatar Jul 08 '24 08:07 DaisukeHirabayashi

Thanks for flagging this @DaisukeHirabayashi, I had noticed this the other day as well but never had the chance to follow up, this is a good reminder. Feel free to investigate more as well if you have time and would like. 👍

awanlin avatar Jul 24 '24 13:07 awanlin

Just noticed this seems to be working again? 🤷

awanlin avatar Aug 13 '24 17:08 awanlin

Closing as we are using a different method for rendering these: https://github.com/backstage/demo/pull/542

awanlin avatar Aug 29 '24 19:08 awanlin