-
Notifications
You must be signed in to change notification settings - Fork 28
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
Add Zoom and Pan to Diagrams? (ER Diagram very tiny) #103
Comments
Thank you for your contribution! This is very appreciated. |
Beautiful diagram! It is an issue on which I have had my attention on for some time. In principle, the Mermaid2 plugin doesn't do any theming or css. It is using the standard Mermaid standard javascript library, in the context of your MkDocs theme. So, the starting point would be: which MkDocs theme are you using? Is it Material, you might be in a better position. It doesn't mean that the theme's author (@squidfunk) would be able to fix this issue for you. But he might have some idea on where to look for a solution? |
Thanks for tagging! Related issue: squidfunk/mkdocs-material#5208 |
Hi TLDR - I have about 0 hope of making a custom plugin in an amount of time that works. I was going to basically involve the mermaid javascript cli directly as a workaround. I ended up going with a different diagram entirely, rendering this moot. |
I note @squidfunk suggestion to use mkdocs-glitchbox. For squidfunk/mkdocs-material#7095, I already thought of pre-producing images, but so far I have decided against it. The main advantage of the javascript library being that it is interactive (hyperlink are available). |
I am not sure if I should be asking this on the mkdocs main repo or here.
The font size of my rendered ER Diagram is so small that it is unusable.
What is the recommended way to make this rendered diagram usable? I looked around and could not find any sort of config to add a zoom/scroll wheel. I am not sure where to start in terms of generating an image from a given markdown. Any advice would be appreciated!
The text was updated successfully, but these errors were encountered: