Xeverous / the_website

https://xeverous.github.io/
GNU General Public License v3.0
25 stars 0 forks source link

spoiler element #19

Closed Xeverous closed 2 years ago

Xeverous commented 3 years ago

It would be useful to have a spoiler element that can be dynamically expanded by the user - mostly for questions and mini-exerices on lesson pages. Goal: implement custom reST directive that generates specific HTML which can be later opened by the user.

Xeverous commented 2 years ago

Actually, no JS was needed. Done in 96a37532263fd92cc68d42bdb008fe960232de1c.