This is great. It doesn’t seem to work with mindmaps and timelines though. I tried forking it and updating to Mermaid v9.4.0, but I’m still getting an error. This code works in their live editor, but not in Discourse, even with Mermaid v9.4.0:
mindmap
Root
A
B
C
also this one, but it doesn’t work in their live editor either, which appears to be running v9.3.0. It does run in a plain HTML page using v9.4.0.
timeline
title History of Social Media Platform
2002 : LinkedIn
2004 : Facebook : Google
2005 : Youtube
2006 : Twitter