-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
ERD diagram of mermaid is not rendered #3108
Comments
Why not provide the Markdown you used so that we can replicate the issue? |
Markdown to recreate the issue
|
Although @tim-hub , these are experimental features of Mermaid-js-erd |
It's possible that our Mermaid version does not even have that feature yet. |
Yep, this was added in 8.5.0. We use 8.4.6. |
just forgot |
thanks |
thanks for the finding out |
No worries, at one point we'll update Mermaid. No ETA though. |
@laurent22 I actually tried to update mermaid, but none of the scripts updates the mermaid.js in I tried Update: Never mind, I figured it out, but it actually resulted in more questions: |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions. |
Mermaid has to be updated. Upstream already fixed the issue I encountered after upgrading to 8.5.0. I'll submit a PR tomorrow. I'm currently not home. |
I've updated Mermaid to 8.5.2, but the squence diagram and the gantt chart are too small. I suspect that we have previously added additional css to Joplin to fix upstream issues, but I don't know. @laurent22 do you remember adding fixes for Mermaid upstream bugs that had something to do with the size of the mermaid images? |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions. |
@laurent22 do you remember adding fixes for Mermaid upstream bugs that had something to do with the size of the mermaid images? |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions. |
i think it still not fixed |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions. |
The problem is that new versions of Mermaid require a change from fit-content to 100% for the width. But this also results in another issue described here: https://discourse.joplinapp.org/t/upgrading-mermaid/10140/4?u=tessus |
Isn't it the same issue as this one? #3097 I think the fix would be to make the graph scrollable rather than 100% width, so that we can handle graphs of any size. |
Well, the |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions. |
The issue is fixed, with version 1.2.x since this was a release I considered this as tested. |
Yep, Caleb added this with the bump to Mermaid 8.x.y |
Play round the mermaid diagram, found the ERD is not rendered.
Environment
Joplin version: 1.0.201
Platform: Mac OS
OS specifics: (prod, darwin) Mac OS Catalina
Steps to reproduce
Describe what you expected to happen
the ERD should be rendered in preview windows.
Logfile
please see the screenshot above.
The text was updated successfully, but these errors were encountered: