This repository has been archived by the owner on Jul 2, 2024. It is now read-only.
Mark external links with an icon #2123
Labels
🏗 Handbook website
Any issues and asks related to the handbook website, not the content of the handbook.
Context
Internal and external links look the same now.
Proposal
I'd find it helpful if external links were marked with an icon like on Wikipedia and some other sites.
It looks like a matter of a CSS tweak, and I'm happy to contribute.
More info
Two solution ideas from @felixfbecker:
This would be just a simple arrow but nice in that it will automatically adapt the color. Might actually work well in our minimal design. (font size, margin etc can be tweaked)
Or alternatively like Wikipedia with an SVG as a background image, placed on the right side using some padding:
(note that in this case the color of the SVG must be hardcoded to our link color and not adapt dynamically to the :visited / :hover / :active link color)
@jeanduplessis: "Feel free to implement and reach out to #content-platform team if you need help."
@quinnkeast: "We do this in the Sourcegraph product itself. I think it’s a good pattern to adopt!"
The text was updated successfully, but these errors were encountered: