Member-only story
Mermaid Output Formats in ChatGPT Are a Game-changer
The second part. It’s not just tables anymore.

It’s been a couple of months since I last wrote about ChatGPT and the table output it can generate, along with some other very basic examples.
Well, ChatGPT has grown up just a little bit, and so did its capabilities outputting different formats, with or without a helper app like Mermaid. (https://mermaid.live)
The use of a helper app will probably not be necessary when someone releases a Mermaid ChatGPT plugin, but before that becomes generally available, this is the (a) way to do it.
The general idea is because ChatGPT, for now, can only output text, we need a service that can take that text and transform it into a graph. Mermaid is perfect for such a thing. It’s easy to use, it supports a ridiculous amount of graph types, and it’s free for our use case.
Just copy the generated ChatGPT code and paste it into the Live Editor on the Mermaid site (https://mermaid.live). Remember to pre or postfix the prompt you see here with something like your own code- or a longer description of what you want the graph to represent.
First, your starter prompt. This will make sure that ChatGPT outputs code that Mermaid can understand.