-
Notifications
You must be signed in to change notification settings - Fork 58
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
Upgrade Diagram version / Diagram upstream bugs #1661
Comments
Just in case you had missed my delayed response to #3249 (merged above), here was the code used to generate the "overly small font" in win10 (Typora 0.9.86) on hiDPI monitor. I do think it's distinct from #1660. Thanks!
|
FYI it seems doing
fixes mermaid labels for me to be readable and have line wraps appear. |
@abnerlee can you better describe what this issue is? Because you keep closing issues without explanation, just pointing to this one. For example #3386 and #3403 require an upgrade of Mermaid to a newer version, but there is nothing in this issue above that is about updating Mermaid to a specific version, such as 8.4.8 which would resolve those to issues. |
@vassudanagunta The title already said "Upload Diagram version", so I think this is what this issue's topic |
@abnerlee So you mean "upgrade" not "upload"? This issue here will never close because Mermaid will keep putting out new updates. It is already nearly 2 years old and has spanned many Mermaid upgrades. By closing those other issues as duplicates of this one:
If, as I said above, you mark them as duplicates of a more specific issue, e.g. "Upgrade Mermaid to v8.4.8", problem solved. Anyway, it's just my opinion. I know you are trying to make your issue database easier to manage, but I think it makes it harder. |
Is there a solution like this for Windows? |
I managed to update the mermaid library on Windows, and I will explain what I did, although I can't really guarantee everything will still work, so you may want to keep a backup of the files you end up editing. First, find the lib.asar file. It should be located in To open it you may use any tool you like. I used the ones suggested here. So you would do the following: Lastly, use From the next launch, you should have the updated Mermaid version, although I'm not sure if the changes will persist when Typora updates. |
It's unfortunate that typora still hasn't updated the mermaidjs version. Despite purchasing, I might switch to other alternatives. I'm quite disappointed. |
I realized that Typora 1.1.5 is using Mermaid 8.8.3. Is there any plan to update the library anytime soon? |
Any updates on this? |
Is there any update on issue #3371? That was posted in 2020, and I'm just facing the same issue here... |
Temporary hack on Linux (tested with Typora 1.2.4). cd /usr/share/typora/resources
cp lib.asar lib.asar.bak
npx asar extract lib.asar destfolder
cd destfolder/diagram
wget -O diagram.min.js https://cdnjs.cloudflare.com/ajax/libs/mermaid/9.1.1/mermaid.min.js
cd ../..
npx asar pack destfolder lib.asar I am currently testing git diagrams and they apparently work. |
Hi @abnerlee. Any change to put latest stable 9.1.1 into next Typora 1.3-dev? Many great improvements happened to Mermaid e.g. Update: I think there's actually a bug in Typora that prevents |
render error on a high dpi screen on Windows (Text not aligned properly in v8.0 mermaid-js/mermaid#645)
Links using Mermaid don't appear to work (Tooltip link in Flowchart docs not working mermaid-js/mermaid#682) (Link ("click" statement) in flowchart does not work in exported SVG mermaid-js/mermaid#646)
render issue when text is too long (opt/alt/loop with long describing text mermaid-js/mermaid#710)
ERROR: [Flowchart] e.shiftX is not a function (js error symbol.shiftX is not a function adrai/flowchart.js#125)
Text after
<br>
dropped in mermaid diagrams. seems fixed in 8.4.5Mermaid linkStyle Not Working Correctly
Sequence Diagram Title Isn't Centered Sequence Diagram Title Isn't Centered mermaid-js/mermaid#3927
The text was updated successfully, but these errors were encountered: