1.0.5 • Published 3 years ago
monaco-mermaid v1.0.5
monaco-mermaid
Package for MermaidJS syntax highlighting implemented in the Monaco Editor.
Usage
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`