efurlanm / mermaid-tw5

TiddlyWiki 5 plugin to support the Mermaid library
https://efurlanm.github.io/mermaid-tw5
MIT License
19 stars 2 forks source link

mermaid-tw5

Last edited: 2024-03-18

The mermaid-tw5 plugin is a wrapper for Mermaid (https://mermaid.js.org).

TiddlyWiki notebook including the plugin: http://efurlanm.github.io/mermaid-tw5 . You can install the plugin by navigating to the site and dragging the plugin link to your TiddlyWiki.

I'm not the author of the plugin, I just got what I was already ready, and updated the mermaid.min.js to the version 9.3.0. All credits are from the original authors:

Notes:

  1. The mermaid.min.js 9.3.0 version currently used in the plugin is 0.9 MB in size and works well.
  2. The new version 10.9.0 of mermaid.min.js is 3.2 MB in size, which makes it a huge overhead (the empty TiddlyWiki 5.3.3 is 2.4 MB).
  3. There is a thread in the mermaid repository suggesting a lite version, which would be welcome and could eventually solve the overhead issue.