News for hackers. Stuff that matters.
Re:I spent some time exploring how to improve the UX of code... by jraph on Friday May 07, 2021 @04:21PM (#27080439)
The best feature for me is that it works well without JavaScript. The document is still a document.

Except for collapsed code blocks. I would suggest collapsing them using JavaScript, so they are fully readable without. They are currently unavailable to someone who does not run JavaScript.

Re:I spent some time exploring how to improve the UX of code... by deadbyte on Friday May 07, 2021 @07:23PM (#27081946)
<details> is a native HTML accordion
Re:I spent some time exploring how to improve the UX of code... by ______- on Monday May 10, 2021 @12:53PM (#27108085)
You can also add an open attribute to specify that you want the <details> element opened by default