Skip to content

fix(code): render markdown italics in inherited font#1899

Merged
adboio merged 1 commit intomainfrom
fix/markdown-italic-font-size
Apr 28, 2026
Merged

fix(code): render markdown italics in inherited font#1899
adboio merged 1 commit intomainfrom
fix/markdown-italic-font-size

Conversation

@thmsobrmlr
Copy link
Copy Markdown
Contributor

@thmsobrmlr thmsobrmlr commented Apr 27, 2026

Summary

  • Replaces Radix UI Themes' <Em> with a plain <em> in the markdown renderer so italicized text inherits the surrounding font instead of switching to Radix's serif italic, which made italics look noticeably larger/different.
Screenshot 2026-04-27 at 19 46 33

Test plan

  • Render markdown containing italics (*word* / _word_) in MarkdownRenderer and confirm italic text matches the size and family of surrounding text.
  • Verify markdown still renders correctly across affected surfaces: agent messages, user messages, queued messages, signal cards, skill detail panel, PR comment threads.

Radix's <Em> swaps in its own (serif) font family, making italicized
words look larger and visually distinct from surrounding text. Use a
plain <em> so italics inherit the body font.

Generated-By: PostHog Code
Task-Id: 571e4cf3-72fa-459e-8604-8b4bf7340d07
@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented Apr 27, 2026

Reviews (1): Last reviewed commit: "fix(code): render markdown italics in in..." | Re-trigger Greptile

@adboio adboio merged commit d806e02 into main Apr 28, 2026
15 checks passed
@adboio adboio deleted the fix/markdown-italic-font-size branch April 28, 2026 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants