[Recurrent] Update / Upgrade component ABC (electron, mermaid, lucide, mathjax, codemirror, vim, etc) to the latest version x.y.z

Is there a workaround for manually upgrading the mermaid.js of my Obisidian installation? I got really frustrated for not being able to use the new type of diagrams.

3 Likes

Also looking forward to the new Mermaid.js version and its features. Almost all my notes have at least one Mermaid block in them.
I just switched over from Joplin to see what Obsidian can do for me and somehow the Mermaid rendering looked off to me. Side by side it was clear to me: Text is not centered vertically, but always a few pixels off-center which looks very weird to me. Here is an example with Joplin on top and Obsidian on the bottom:

I have seen that some people try to change the styling with CSS, but this seems to cause problems with various Exports, so I’d rather stick to the default rendering… but it would be nice to have it a bit clearer and well… centered :wink:

Otherwise I like Obsidian so far!

1 Like

Use case or problem

I often use multiline display equations like this:

Current workaround (optional)

I have to use the align environment or two separate display equations.

Proposed solution

Incorporate the latest release of MathJax, which involves line-breaking support (for in-line and displayed equations), and a host of new features - which would be great.

This is just one of my use cases and it isn’t really that critical, but it would be great enhancement for me.

5 Likes

+1 for this, especially if there’s some interface to change the MathJax font (since there are many more supported fonts in 4.0)

6 posts were merged into an existing topic: Upgrade Electron Chromium version >133 to support attr()

it’s been mentioned on discord that the devs are planning to upgrade to the more recent MathJax version (eventually). i thought i would mention here that there has been another release, 4.1, which fixed some bugs in 4.0.

i’ll also mention another feature (besides additional fonts and line breaks) introduced in v4.0 which i would start using right away: the ability to include html inside math. specifically, including images inside equations would be extremely nice.

3 Likes

Hi ! Obsidian mermaidjs version is 11.4.1 from Nov 27, 2024 [1]
It would be great to have an update.

Best !

[1] Release [email protected] · mermaid-js/mermaid

1 Like

Use case or problem

There are some spacing bugs in MathJax 3.2.2 (current version which Obsidian uses) which have been fixed in MathJax 4.1.

Proposed solution

Upgrade MathJax to v4.1.

See also: Releases · mathjax/MathJax-src · GitHub
See also: `DeclareMathOperator` spacing · Issue #3448 · mathjax/MathJax · GitHub

2 Likes

+1 for an updated mermaid (11.6.0 is the current Version**)** !!! Please update the mermaid version more often!

1 Like

Use case or problem

Electron 41 improved its Wayland support and windows now can finally drop shadows. I’m wondering when we can get it? Especially now that Electron 38 is end-of-support.

Proposed solution

Move Obsidian to Electron 41 for improved Wayland support.

Current workaround (optional)

Related feature requests (optional)

Sorry, can’t post links for some reasons, you can find the blog post in Electron’s blog

+1 on updating Mermaid, current version 11.4.1 is over a year old and updating to 11.11+ would solve numerous issues (non-directional links rendering as directional arrows (fixed in 11.5+), support for new graphs and shapes etc.)