If cell is a markdown heading, sets the headingCollapsed field, and otherwise hides the cell.
The cell to collapse / expand
Whether to collapse or expand the given cell
If cell is a markdown heading, sets the headingCollapsed field, and otherwise hides the cell.