[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.

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!

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.

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

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.

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

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

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

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.)

+1 on updating Mermaid

Please update Mermaid version as well. v11.12.0 solves a bug I encounter (Sequence Diagram does not support JSON configuration · Issue #6935 · mermaid-js/mermaid · GitHub). It’s seem mermaid.live uses an even newer version.

I do think that any improvement made to the rendering of Mermaid diagrams is more than welcome for visual learners and thinkers

+1 on updating MathJax, I can’t type \oiint and \oiiint and they’ve been added upstream last year

Obsidian 1.12.7 latest ships with moment 2.29.4 (according to moment.version), which is from 2022 and superseded by 2.30.1 latest. There have been minor bugfixes (link) which also modified the parsing rules, making the old built-in moment (unexpectedly) result in different outputs from the current version in edge cases.

Please update Mermaid version as well. v11.14.0 to incorporate treeview-beta

First of all, English is not my native language. Since I’m using machine translation, there may be some awkward sentences, so please bear with me.

Use case or problem

Venn diagrams with three or more sets are not displayed correctly.

Proposed solution

Would you please consider expanding support for Mermaid on venn-beta?

Current workaround (optional)

Paste a Venn diagram as an image.

Related feature requests (optional)

n/a

I know that the Obsidian team is doing fantastic work on much more exciting features right now, but I will reiterate my request in updating MathJax to the latest version.

Use case or problem

The version shipped with Obsidian is ~4 years old. MathJax has evolved and has many new features and improvements, notably:

  • Expanded font support;
  • Line-break support;
  • Fixes for visual bugs such as alignment and margin issues, rendering in plugins, etc.; and
  • Support for new plugins (not sure how to utilize this…)

I will also request to be able to use \[ ... \] and \( ... \)as delimiters for display and inline equations, respectively; as they are now the modern standard, and the$delimiters may cause consistency and visual issues to commonly used LaTeX packages (when what’s written in Obsidian’s MathJax is copied and compiled to standard LaTeX distributions).

Lastly, I think that it will also be great for Obsidian Publish to have a functionality where readers can right click the equation and copy the LaTeX code. If I am not mistaken, it already comes with MathJax.

Proposed Solution

Update MathJax to the latest version and add the two additional features.

Thread seems to constantly be busy, i’m unsure how to add my “:bust_in_silhouette:+ Yeah!” in vote form. Quickly flicking to Mermaid.js documentation and writing something doesn’t line up with obsidian md is a frustrating inconsistency.
most recent e.g.,

timeline TD
	title AIF Progress

will render a horizontal timeline with TD as one of the time units.