I also see people doing this as one offs for explorable explanations. You can implement thjs right now using the HTML “details” element in markdown, although you may need some custom css to help people realize the block is clickable
http://tomasp.net/coeffects/