title: Collapse sections in cshtml view
body: <p>Is there a way to collapse a razor code block or <code>section</code> in a cshtml file?</p>
  
  <p><img src="https://i.stack.imgur.com/QFusK.png" alt="enter image description here"></p>
  
  <p>As you can in the image above, the <code>div</code> is collapsable but not the <code>section</code> or the code block.
  Any ideas?</p>