Let's Open Things Up
You can add text within a collapsed section using HTML details/summary. Indeed, with a few extras on the detail tag include attribute markdown="1 and the summary tag needs markdown="span"
You can add an image

or a code block, too.
echo ('Collapsing commences');
This is fun