title: Hide all code when exporting notebook in Jupyter Lab to PDF
body: <p>When I export a notebook to PDF in jupyter lab i cannot hide the code cells in the output.
  (Like 'View > Collapse All Code')</p>
  
  <p>Is there a built in functionality to hide code in the output PDF?
  For example by using the cell Metadata?</p>