Replies: 1 comment 1 reply
-
Thanks for your ideas and work on this plugin.
I agree completely. The direction I'm aiming for with the native integration is to make usage of Mermaid for the user as frictionless as possible. Currently, the only thing that needs to be done is to configure Superfences to read
I've linked to your plugin in the footnote for users who don't want to use the native integration. It's optional after all. The Mermaid integration isn't done yet and is deliberately situated in a later funding goal, so we can flesh out the bugs before releasing this to the public 😊 Thus, your plugin makes perfect sense, and even after the release, other themes or users building their own would likely want to integrate with Mermaid.js. We don't try to replace your plugin, it's just that we can achieve a deeper integration if we go the native way. |
Beta Was this translation helpful? Give feedback.
-
Thanks @squidfunk for this interesting development (#2170) 👍 ! I am following it with great interest, as maintainer of mermaid2 plugin)
mermaid is a great tool, which works well with mkdocs; but it internals can be a bit messy, and sometimes finicky, for demanding applications. Sometimes, it becomes a rabbit hole.
Since material is a de facto standard for mkdocs (why using another theme 🙂 ?), we should welcome anything that can make the use of mermaid, easier and safer. And if those developments can avoid using a plugin for a whole category of users, so much the better (principle of economy).
In general I try to keep the mermaid2 plugin aligned with the material theme (which has a special status), but also
compatible with other themes.
The bottom line is that I am interested (if I manage) in keeping the mermaid2 plugin aligned to the future improvements of the material theme for mermaid, so that it can exploit them. 👍 While keeping the options open for those who don't use material.
Beta Was this translation helpful? Give feedback.
All reactions