Mermaid-Chart / issue-tracker

Other
10 stars 1 forks source link

Rendering source code in prod #9

Closed iamnathanwindsor closed 10 months ago

iamnathanwindsor commented 1 year ago

Describe the bug I've had the Mermaid plugin installed for months, but now it also renders the source code. How do I fix this?

I uninstalled and reinstalled the plugin, but no success.

To Reproduce

  1. Go to https://docs.landslide.network/product-guides/landslide-and-tendermint You'll see the source code rendered.

Expected behavior You should only see Mermaid code on the live site.

Screenshots image

**Desktop

**Smartphone

knsv commented 1 year ago

This looks like a notion specific issue. I would suggest to register this issue with them. We are planning to create a dedicated Mermaid Chart plugin for notion but that work has not started yet.

iamnathanwindsor commented 1 year ago

Sorry I don't understand what you mean.

This is a Gitbook issue, not a Notion issue.

Gitbook has indeed acknowledged it too, but they say there is no fix to it.

Any chance the Mermaid team can help?

Otherwise I'll just export PNGs

knsv commented 1 year ago

Thank you for reaching out. While the issue seems to be originating from Gitbook's plugin handling, we appreciate your interest in finding a solution with Mermaid.

We can't directly influence how third-party plugins interpret our code, but we're always open to exploring potential workarounds. For now, exporting to PNG remains a practical alternative.

Best regards, Knut

iamnathanwindsor commented 1 year ago

Ok thanks.

I hope you guys work with them to fix it.

On Tue, Sep 5, 2023 at 12:55 AM Knut Sveidqvist @.***> wrote:

Thank you for reaching out. While the issue seems to be originating from Gitbook's plugin handling, we appreciate your interest in finding a solution with Mermaid.

We can't directly influence how third-party plugins interpret our code, but we're always open to exploring potential workarounds. For now, exporting to PNG remains a practical alternative.

Best regards, Knut

— Reply to this email directly, view it on GitHub https://github.com/Mermaid-Chart/issue-tracker/issues/9#issuecomment-1705226628, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADLBYJJNNKTIQKVYTP6GH2DXYXFUJANCNFSM6AAAAAA3O6DEGY . You are receiving this because you authored the thread.Message ID: @.***>