Package for MermaidJS syntax highlighting implemented in the Monaco Editor.
The ID of the language created will be mermaid
. There will also be two themes that extend the base themes of vs
and vs-dark
named mermaid
and mermaid-dark
respectively.
import initEditor from 'monaco-mermaid';
initEditor(monacoEditor); // Defines required themes and languages on given `monacoEditor`