Closed haneul closed 1 year ago
Thanks for suggesting. The mkdocs-glightbox plugin already supports zooming and panning of images, and since the underlying glightbox library supports arbitrary inline content, it should be extendable to Mermaid.js diagrams without problems. Thus, this change request is better implemented in mkdocs-glightbox. Closing as out-of-scope.
Seems unfair. glitchbox operates with images, not diagrams. It looks like it should be the standalone plugin like it's done for docsify: https://github.com/corentinleberre/docsify-mermaid-zoom
You are invited to write a third-party plugin or JavaScript extension. Feel free to share it here, it you do! ☺️
Hey folks, is there any updates on the official supported zoom & pan here, or any recommended plugin for it?
Thanks a lot!
I need zoom and pan for a large mermaid diagram embedded in notion
Context
No response
Description
Now github provides a control for zooming / panning diagrams from mermaidjs. That's quite helpful for showing a large diagrams. Can we have something similar with mkdocs material? See example from https://github.com/squidfunk/mkdocs-material/blob/master/docs/reference/diagrams.md#using-flowcharts
Related links
Use Cases
Many users use mkdocs for showing diagrams, so it would be helpful.
Visuals
No response
Before submitting