Skip to content

Commit

Permalink
mentions shoudn't be bold
Browse files Browse the repository at this point in the history
  • Loading branch information
robertKozik committed Jan 30, 2024
1 parent b6702ff commit 5267e84
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/web/parserUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,10 @@ function addStyling(targetElement: HTMLElement, type: MarkdownType, markdownStyl
node.style.textDecoration = 'line-through';
break;
case 'mention-here':
Object.assign(node.style, {
...markdownStyle.mentionHere,
fontWeight: 'bold',
});
Object.assign(node.style, markdownStyle.mentionHere);
break;
case 'mention-user':
Object.assign(node.style, {
...markdownStyle.mentionUser,
fontWeight: 'bold',
});
Object.assign(node.style, markdownStyle.mentionUser);
break;
case 'link':
Object.assign(node.style, {
Expand Down

0 comments on commit 5267e84

Please sign in to comment.