Live data from Hacker News

I spent some time exploring how to improve the UX of code blocks on the web

ped.ro

1–10 of 68 posts

Re: I spent some time exploring how to improve the UX of code blocks on the web

#6
Does anyone know if there's a trick to avoid the trailing newline when double-clicking a line to copy/paste it elsewhere?

This always annoys me for single-line commands. I'd love a CSS solution but can only think of some ugly JS approaches.

Re: I spent some time exploring how to improve the UX of code blocks on the web

#7
post #3
post #2

I wish the "Click a highlighted word to navigate to a different page" was just an tag rather than a JavaScript onclick handler.

I agree, I like to see where I'm going

great idea! implemented, and updated the article. thank you.
Post reply on HN