View your mermaid code examples with mermaid.js for Typemill
You can use mermaid in code blocks. Please switch to the raw editor and add the mermaid keyword after the backtipps like this:
pie
title Key elements in Product X
"Calcium" : 42.96
"Potassium" : 50.05
"Magnesium" : 10.01
"Iron" : 5