1 year ago

#341323

test-img

lalin

MMDC not found in mermaid.cli

I tried to use gatsby-remark-draw to render mermaid diagrams which includes installing mermaid and mermaid.cli. However, the diagram becomes code blocks instead, even though I followed the instruction of putting this plugin before the gatsby-remark-prismjs in the config. And I kept on getting this error:

Unhandled exception in rendering: Error: Unable to render graph language with mermaid:      
Error: not found: mmdc

mermaid

0 Answers

Your Answer

Accepted video resources