Mermaid latest release

Hi there :slight_smile:

I'm trying to use latest Ishikawa diagram in silverbullet bit needs v11.12.3+
So I just tried to update the plug in Library/silverbullet-mermaid as below (11.16.0 is the latest release)

Trying to update plugs, reindex, .reload UI, but still got this error

While the code is still ok on live mermaid (on other usual flow chart are also working well on SB)

ishikawa
Issue

Machine
  Usure de l'outil
    Vitesse de coupe trop élevée
     Paramètre machine mal réglé
      Pas de fiche de réglage standard


Method
  Procédure de contrôle absente
   Non formalisée lors du transfert de série

Material
  Lot matière hors spec

Man
 Manque de formation

Measurement
  Instrument non calibré

Environment
  Variation de température atelier

What am I missing to upgrade mermaid dependencies ?

In general, if these kinds of things don't work, it often helps to take a look at the browser developer tools and then the console. With silverbullet there often is an error there, that might help. (Although they are often cryptic.)

I think the problem with your configuration is that there is no comma on the end of line "integrity_disabled = true". That makes lua confused about the whole configuration section (which means it basically ignores the configuration section and adds an error in the developer tools console.) I think if the comma was there, it probably would work.

The 'integrity = ' line doesn't contain a correct hash, but if you disable the integrity that line is ignored.

By the way, this is my configuration, which was able to draw your ishikawa diagram:

config.set("mermaid", {
  version = "11.16.0",
  integrity = "sha256-dNfEbavKMowilHM5EKiqHtDDdFF3bo1Sldo4ordY+5s=",
})

Hi @johan ,
Thanks I ended finally disabling integrity as well and it's working correctly.
:folded_hands: