Offtopic question: When did LW introduce Notion-style toggles (the ones used to hide the song lyrics), and how can I use them myself? I didn’t find the answer in lesswrong.com/editor.
It’s just the native <details> HTML element. We don’t currently support it in the editor, but just manually added it to the HTML of this post.
I do think it would be nice to support it in the WYSIWYG editor, and it’s been sitting on my “to build” list for a while, but we haven’t gotten around to it.
If you do get around to implementing such toggles / HTML <details> elements in the WYSIWYG editor, I recommend checking out how Notion implements their toggles, and especially their toggle headings.
Offtopic question: When did LW introduce Notion-style toggles (the ones used to hide the song lyrics), and how can I use them myself? I didn’t find the answer in lesswrong.com/editor.
It’s just the native
<details>
HTML element. We don’t currently support it in the editor, but just manually added it to the HTML of this post.I do think it would be nice to support it in the WYSIWYG editor, and it’s been sitting on my “to build” list for a while, but we haven’t gotten around to it.
If you do get around to implementing such toggles / HTML <details> elements in the WYSIWYG editor, I recommend checking out how Notion implements their toggles, and especially their toggle headings.