Skip to content

Commit

Permalink
Merge pull request #46322 from fabioh8010/bugfix/46309
Browse files Browse the repository at this point in the history
Fix bold and italic markdown not being applied to links
  • Loading branch information
rlinoz authored Jul 29, 2024
2 parents eeafe76 + 6828a35 commit 3722b22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/styles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ const link = (theme: ThemeColors) =>
({
color: theme.link,
textDecorationColor: theme.link,
...FontUtils.fontFamily.platform.EXP_NEUE,
// We set fontFamily directly in order to avoid overriding fontWeight and fontStyle.
fontFamily: FontUtils.fontFamily.platform.EXP_NEUE.fontFamily,
} satisfies ViewStyle & MixedStyleDeclaration);

const baseCodeTagStyles = (theme: ThemeColors) =>
Expand Down

0 comments on commit 3722b22

Please sign in to comment.