mirror of
https://github.com/go-gitea/gitea.git
synced 2026-11-21 16:28:55 -06:00
Render user mentions like GitHub, semibold in the surrounding text color, and highlight mentions of the signed-in user in yellow so they stand out in long threads. The renderer adds `user-mention` and `current-user` classes, the styling is pure CSS. CODEOWNERS and OAuth creator links use the same class, team mentions are unchanged. | Before | After | | --- | --- | | <img width="291" height="29" alt="before" src="https://github.com/user-attachments/assets/6c451e7a-dfce-4e95-a386-f9aa9d28c721" /> | <img width="291" height="29" alt="after" src="https://github.com/user-attachments/assets/6b137c71-4692-46f2-adf8-d77ee87f3077" /> | Assisted-by: Claude Code:claude-opus-5-5