diff --git a/app/components/markdown/markdown.tsx b/app/components/markdown/markdown.tsx index 75d777457..84f60b2e3 100644 --- a/app/components/markdown/markdown.tsx +++ b/app/components/markdown/markdown.tsx @@ -488,6 +488,10 @@ const Markdown = ({ styles = computeTextStyle(textStyles, baseTextStyle, context); } + if (context.includes('mention_highlight')) { + styles = concatStyles(styles, {backgroundColor: theme.mentionHighlightBg}); + } + return (