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 + '-'), []