News for hackers. Stuff that matters.
Re:I spent some time exploring how to improve the UX of code... by uberswe on Friday May 07, 2021 @12:48PM (#27077934)
I agree, I like to see where I'm going
Re:I spent some time exploring how to improve the UX of code... by lovelydrop on Friday May 07, 2021 @01:19PM (#27078350)
great idea! implemented, and updated the article. thank you.
Re:I spent some time exploring how to improve the UX of code... by carlosperate on Friday May 07, 2021 @01:31PM (#27078500)
It's also not easy to quickly identify it's a link, as the word highlight is the same as the previous examples.

Maybe adding an underlines or something to make it slightly different might help with that.

Re:I spent some time exploring how to improve the UX of code... by SamBam on Friday May 07, 2021 @01:34PM (#27078532)
Right, or a small "outgoing link" symbol (usually a box with an arrow coming out the top-right corner) next to it.
Re:I spent some time exploring how to improve the UX of code... by extra88 on Friday May 07, 2021 @06:04PM (#27081377)
Yes, don't disable link underlines within the code blocks, let the default be. It's not like there's a competing convention for underlining within code blocks.
Re:I spent some time exploring how to improve the UX of code... by Silhouette on Friday May 07, 2021 @03:00PM (#27079593)
It might also be worth having those links opening in new tabs as an option. Right now, at least on iOS, following a link and then going back leaves you at the top of the original page again, not where you were up to before you clicked the link.
Re:I spent some time exploring how to improve the UX of code... by extra88 on Friday May 07, 2021 @06:01PM (#27081345)
In general, it's better for sites to not take away from the user the choice of opening a link in a new tab or not. When I follow a link on my iPhone, when I use the Back button, the page is still scrolled to where it was before, which is my typical experience in mobile Safari.
Re:I spent some time exploring how to improve the UX of code... by Silhouette on Friday May 07, 2021 @11:43PM (#27083613)
In general, I agree. But if the link is a surprise because the styling isn't obvious and it might easily be tapped while trying to scroll content on a small touchscreen and it breaks normal back button behaviour, I disagree in this specific instance. All of those things were true in iOS Safari on my iPhone at the time I wrote that comment.