fralau / mkdocs-mermaid2-plugin

A Mermaid graphs plugin for mkdocs
https://mkdocs-mermaid2.readthedocs.io
MIT License
214 stars 26 forks source link

Graph only visible on reload #58

Closed pbelmann closed 1 year ago

pbelmann commented 2 years ago

Hi,

thank you for providing this plugin! In my case the graph is placed in a tab (using superfences). If I initially load the page and click on the tab it does not show the graph. It appears only when I reload the page.

I`m using version 0.6.0 of this library and the following plugins:

plugins:
  - search
  - mermaid2
  - print-site
github-actions[bot] commented 2 years ago

Thank you for your contribution! This is very appreciated.

fralau commented 2 years ago

This could be a mermaid-js issue; or more likely an mkdocs-material issue (if you are using it?).

I suggest you post the issue on the most relevant project (note that you have to frame your question in terms of the tool you are using, not in terms of mkdocs-mermaid2.

pbelmann commented 2 years ago

Thank you for your reply. Yes, I am using mkdocs-material.

fralau commented 2 years ago

Do you intend to post the question on their issues list? If yes, could you reference it on this issue?