Consider styling go-to-definition links using faint underline #88120
Labels
A-rustdoc-ui
Area: Rustdoc UI (generated HTML)
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Basically, we could style the links similarly to Haskell's equivalent to Rustdoc, Haddock. They use a faint underline, and then add background color when the link is hovered:
I like how it's very subtle in Haddock, so it doesn't affect the reading experience, but it's strong enough to think, "Hey, I bet I can click that link!"
IIUC, nearly all of the identifiers should be clickable in the generated source view, so we just want to give a hint that the links are clickable without distracting from the reading view.
Originally posted by @camelid in #88111 (comment)
The text was updated successfully, but these errors were encountered: