Hacker News new | ask | show | jobs
by jraph 1869 days ago
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.

1 comments

<details> is a native HTML accordion
You can also add an open attribute to specify that you want the <details> element opened by default