-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
bug of rendering a mermaid graph #10785
Comments
ExplanationThis rendering issue seems to be an artifact caused by Joplin's rendering Mermaid diagrams within HTML WorkaroundFor me, setting To apply this change to an existing note, add the following to its markdown: <style>
/* All mermaid <pre> elements that have been rendered. */
pre.mermaid[data-processed=true] { white-space: unset; }
</style> It should also be possible to add the above CSS to userstyle.css. Thank you for reporting this! |
…in mermaid diagrams
…in mermaid diagrams
You R welcome to thank me. I tried the latest Joplin 3.1.4, it looks that this problem still persist in ver 3.1.4. The string of overall style setting works some how. However when I switch the editor mode I found the bug is still there. And when I try to download the graph in svg, some greek letters were lost. However, if I store the graph in png, it works well. |
The fix for this issue isn't present in v3.0.14. However, it should be available in the first 3.1.x pre-release when it is released (which should be in the near future). |
Thks a lot for letting me know this.
在 2024-08-07 01:41:19,"Henry Heino" ***@***.***> 写道:
I tried the latest Joplin 3.1.4, it looks that this problem still persist in ver 3.1.4.
The fix for this issue isn't present in v3.0.14. However, it should be available in the first 3.1.x pre-release when it is released (which should be in the near future).
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Operating system
Windows
Joplin version
Joplin-Setup-3.0.13
Desktop version info
Joplin 3.0.13
Current behaviour
Joplin can not render a Mermaid graph well like this following piece of code:
Expected behaviour
It can be reproduced on Mermaid live to see the difference clear.
Logs
No response
The text was updated successfully, but these errors were encountered: