web: Making Mermaid.js themes work in Google Slides and WordPress

Well, this is an interesting problem, I really want to use Mermaid.js in my higher-quality Google Slides, so now it’s time to learn about themes and how to make this plugin work. Mermaid.js is pretty ugly stuff but it is great for engineering documents and it is very easy for AI to generate it.

With the latest Gutenberg Editor in WordPress, it is also easy to add. The new WordPress even tells you about things that you can install, but I have MerPress installed and then there is also WP Mermaid which I used for a long time, but it is no longer maintained, so now I have CanaryBlue loaded, just go the block editor and type away, so insert a Mermaid box as well as MerPress (but this one hasn’t been updated in two years. One of the sad things about WordPress is that you need so many plugins are they are always changing and going obsolete. Sigh.

flowchart LR
  A --> B

And you will get from Canary Blue which is nice and it has a builtin error generator so you get a little help typing in valid mermaid.js syntax

flowchart LR
  B --> A
BA

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

I’m Rich & Co.

Welcome to Tongfamily, our cozy corner of the internet dedicated to all things technology and interesting. Here, we invite you to join us on a journey of tips, tricks, and traps. Let’s get geeky!

Let’s connect

Recent posts

  1. Loading Mastodon feed…