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

Rendering Mermaid diagram with Pan and Zoom ability on mkdocs pages #93

Open
premthebuilder opened this issue Dec 19, 2023 · 4 comments
Labels
enhancement New feature or request mermaid-js This isssue relates to the mermaid javascript library

Comments

@premthebuilder
Copy link

Hi, I just started using mermaid for our documentation using mkdocs recently and I am loving it. But one of issues that keeps me from using it to document large workflow diagrams that don't fit in a single page view is the lack of ability to pan and zoom, like the one you have with mermaid live editor

I searched through the issues/discussions and don't see any way to do this, so raising this issue. Hopefully we get enough support for this to make it a priority. Meanwhile I will take a shot at implementing it myself and submit a PR.
But please let me know if there a way to get this already. Thanks!

Copy link

Thank you for your contribution! This is very appreciated.

@fralau
Copy link
Owner

fralau commented Feb 24, 2024

Thanks for your issue (and for your patience).

I am aware of that problem. The reason why it is not solved yet, is that it is a question that involves several components of the MkDocs ecosystem.

Mkdocs-Mermaid2 is essentially Python, though there are Javascript and css parts in it. Those were generally contributed by others.

I am putting in copy the maintainers of Mermaid's live editor (@sidharthv96 and @knsv). Who knows, they might have some ideas, or suggest someone who could help?

@fralau fralau added the enhancement New feature or request label Feb 24, 2024
@fralau
Copy link
Owner

fralau commented Feb 25, 2024

Just in case, I am also putting the maintainer of the Material theme in the loop (@squidfunk) as the subject might interest him.

I am not sure that Mkdocs-Mermaid2 is the exact place where the problem should be solved, but perhaps a multilateral discussion could lead us somewhere?

@fralau fralau added the mermaid-js This isssue relates to the mermaid javascript library label Feb 25, 2024
@fralau
Copy link
Owner

fralau commented Feb 25, 2024

Actually this is a subject discussed at the level of the mermaid library (mermaid-js/mermaid#1860)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mermaid-js This isssue relates to the mermaid javascript library
Projects
None yet
Development

No branches or pull requests

2 participants