-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Mermaid diagrams are rendering very small in the slide #218
Comments
I can confirm the same issue as well. I observe that the image size is correlated to the amount of text added to the graph nodes and edges. The issue can be reproduced in obsidian advanced slides plugin using. The same specification renders correctly using the https://github.com/zjffun/reveal.js-mermaid-plugin html example.
while the same diagram renders well in the html example in reveal.js-mermaid-plugin so this issue is likely in obsidian advanced slides plugin |
yup |
same here a slide used: ---
```mermaid
sequenceDiagram
Alice->>+John: Hello John, how are you?
Alice->>+John: John, can you hear me?
John-->>-Alice: Hi Alice, I can hear you!
John-->>-Alice: I feel great!
```
--- |
this should be prioritized. mermaid is a big deal for presentations. |
Same problem. Adding element annotation to stretch a diagram is a workaround that worked for me. |
Great thanks for the workaround! I've put it in my custom css 👍
|
FYI I applied workaround described here, it would be really nice if the default CSS could include this :-) |
Is this still an issue for some people/diagrams? (It seems to be for me). I've tried adding css, element annotation, and using mermaid frontmatter useWidth/useMaxWidth, but my diagrams are small, they seem to be taking up width but not height, and the fontSize is small. |
Describe the bug
This could be my lack of understanding and not a bug, but my mermaid diagrams render tiny on the screen...
Samples to Reproduce
Code for my slide:
Expected behavior
In your documentation, they show rendering larger. I'd like the mermaid diagram to fill the slide.
The text was updated successfully, but these errors were encountered: