Click on the "cogwheel", top-right corner of the "post editing" box, and select "Hide Details":
If you prefer to work directly in Markdown, wrap whatever you want to hide in details
tags:
[details="Summary"]
This text will be hidden
[/details]
...gives you:
Summary
This text will be hidden
Many more Forum formatting tricks in @_jims's excellent Entering and Enhancing Forum Posts post.