I believe you are referring to the commands Notebook: Fold Cell and Notebook: Unfold Cell, which allow to hide or unhide the cells beneath the current markdown section.
Notebook: Fold Cell
Notebook: Unfold Cell