monaco-mermaid
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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`

Readme

Keywords

none

Package Sidebar

Install

npm i monaco-mermaid

Weekly Downloads

386

Version

1.1.0

License

MIT

Unpacked Size

64.9 kB

Total Files

9

Last publish

Collaborators

  • saiansh2525