Mermaid Module #787
Replies: 1 comment 3 replies
|
I spent few hours trying to make "gantt" work: it doesn't! I "googled" it, it seems the issue exists past few years already. Their online editor uses different approach wo in online editor it doesn't happen. This is diagram: gantt
dateFormat YYYY
section Population Shifts
Aging Baby Boomers :2003, 2023
Rise of Millennials :2010, 2023
It works fine in https://mermaid.live/edit Google search shows that many other experience similar issues; but "mermaid" team is unaware: response is "it doesn't happen in live edit". Workaround it to copy-paste generated SVG and modify it :) I tried to use "max-width: 100% !important; " - it makes it max witdth, but it just scales it (instead of widening). Please let me know if you know how to fix. I compared with some other Hugo Themes, such as simplest "Book" theme, - same issue. |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Mermaid Module
Mermaid is a JavaScript-based diagramming and charting tool that uses Markdown-inspired text definitions and a renderer to create and modify complex diagrams.
https://hbstack.dev/modules/content/mermaid/
All reactions