Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Links not working #69

Closed
garrywilliams opened this issue Feb 13, 2023 · 5 comments
Closed

Links not working #69

garrywilliams opened this issue Feb 13, 2023 · 5 comments
Labels
info needed Further information is requested stale No news, closing

Comments

@garrywilliams
Copy link

garrywilliams commented Feb 13, 2023

Great plugin! Please can you help me enable links in my charts.

I am using your example graph below but the link isn't working on my site. I have the following configuration and everything else is working fine.

plugins:
  - search
  - mkdocstrings
  - autorefs
  - mermaid2:
      arguments:
        theme: default
        securityLevel: 'loose'

The graph is:

graph LR
    hello --> world
    world --> mermaid[mermaid web site]
    click mermaid "https://mermaid-js.github.io/mermaid" "Website"
Loading

I have followed these instructions:

Adding Hyperlinks to a Diagram (versions of Mermaid javascript >~ 8.5.0)
To enable this function, you need to relax mermaid's security level to 'loose'.

Use the click directive in the language (for more information, see Interaction on the official mermaid website)

@github-actions
Copy link

Thank you for your contribution! This is very appreciated.

@fralau
Copy link
Owner

fralau commented Mar 14, 2023

Interesting question. Could you show what the generated HTML/javavscript of your page looks like? (so that we can debug?)

@fralau fralau added the info needed Further information is requested label Mar 30, 2023
@fralau fralau added the stale No news, closing label Jul 5, 2023
@fralau
Copy link
Owner

fralau commented Jul 12, 2023

@garrywilliams What is the status of this issue?

@garrywilliams
Copy link
Author

Sorry, @fralau, I missed your question. I'll find the pages and get back to you this week.

@fralau
Copy link
Owner

fralau commented Aug 4, 2023

@garrywilliams Thanks. Where you able to check?

@fralau fralau closed this as completed Sep 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info needed Further information is requested stale No news, closing
Projects
None yet
Development

No branches or pull requests

2 participants