From b73afb400beddb1c1cf978da98d7ee2db555e2a8 Mon Sep 17 00:00:00 2001 From: Yash-Singh1 Date: Mon, 16 Aug 2021 17:31:21 -0700 Subject: [PATCH] Info diagrams --- src/lib/components/editor/util.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/components/editor/util.ts b/src/lib/components/editor/util.ts index 9b158bf0..3ddc4e7b 100644 --- a/src/lib/components/editor/util.ts +++ b/src/lib/components/editor/util.ts @@ -17,9 +17,10 @@ export const initEditor = (monacoEditor): void => { 'flowchart', 'gantt', 'gitGraph', - 'journey' + 'journey', + 'info' ], - keywords: ['participant', 'as'], + keywords: ['participant', 'as', 'showInfo'], arrows: ['---', '===', '-->>', '-->', '==>', '->>', '->', '--)', '-)', '--x', '-x'].reduce( (accumalator, arrow) => accumalator.concat(arrow, arrow + '+', arrow + '-'), []