There is a contributed resource type named 'Label Collapsed' (https://moodle.org/mod/forum/discuss.php?d=190563). It enables to create label that can be expanded and collapsed on the page. This feature has been appreciated by a number of users, so I thought it might be worth to integrate this functionality in to a standard Label resource as an option within settings.
Therefore, I would like to see what do others think about that. I am thinking of spending some time on that and would like to check if it would be worth it.
I have opened an issue on tracker in advance: https://tracker.moodle.org/browse/MDL-43336