diff --git a/services/web/frontend/js/features/source-editor/extensions/visual/atomic-decorations.ts b/services/web/frontend/js/features/source-editor/extensions/visual/atomic-decorations.ts index abd7ffaa03..9e520394f1 100644 --- a/services/web/frontend/js/features/source-editor/extensions/visual/atomic-decorations.ts +++ b/services/web/frontend/js/features/source-editor/extensions/visual/atomic-decorations.ts @@ -1029,6 +1029,18 @@ export const atomicDecorations = (options: Options) => { ) ) } + } else if (commandName === '\\keywords') { + if (shouldDecorate(state, nodeRef)) { + // command name and opening brace + decorations.push( + ...decorateArgumentBraces( + new BraceWidget('keywords: '), + textArgumentNode, + nodeRef.from + ) + ) + return false + } } else if ( commandName === '\\footnote' || commandName === '\\endnote'