Use monaco-mermaid

This commit is contained in:
Yash-Singh1
2021-10-31 14:56:07 -07:00
parent d17c1c26e9
commit 4f0c38b36e
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
import { themeStore } from '$lib/util/theme';
import type monaco from 'monaco-editor';
import { createEventDispatcher, onMount } from 'svelte';
import { initEditor } from './util';
import initEditor from 'monaco-mermaid';
let divEl: HTMLDivElement = null;
let editor: monaco.editor.IStandaloneCodeEditor;