The Mermaid Plugin brings the power of the mermaid.js library to Typemill. With mermaid, you can create flowcharts, pie charts, and a variety of other diagrams to visualize your workflows and illustrate your data.
The Mermaid library supports a wide range of charts and diagrams, including:
You can use the visual editor or the raw editor to create codeblocks with mermaid syntax:
mermaid as the language.Here’s an example of Mermaid syntax to create a pie chart. Copy and paste the following code into the raw markdown editor of Typemill. Make sure to remove the backslashes before saving.
\```mermaid
pie
title Key elements in Product X
"Calcium" : 42.96
"Potassium" : 50.05
"Magnesium" : 10.01
"Iron" : 5
\```
pie
title Key elements in Product X
"Calcium" : 42.96
"Potassium" : 50.05
"Magnesium" : 10.01
"Iron" : 5
Not familiar with Mermaid? Check out their GitHub page for syntax examples and detailed documentation.