Feature request: Jupyter notebook viewer: support source_hidden and output_hidden metadata

Is it possible to enforce the source_hidden and output_hidden features of Jupyter notebook metadata? I’m trying to publish a notebook as a tutorial, and use code to create explanatory images in the notebook. The code is not really need to follow the notebook. I have checked in the notebook with ‘source_hidden’ set in the notebook, but github’s notebook viewer shows the source.

The problem here is that PDF export fails in my notebook editor (Colab), so this is my only easy way to publish this thing.


Lance Norskog

Hi @lancenorskog,

Thanks for this feedback! We’re always working to improve GitHub and the GitHub Community Forum, and we consider every suggestion we receive. I’ve logged your feature request in our internal feature request list. Though I can’t guarantee anything or share a timeline for this, I can tell you that it’s been shared with the appropriate teams for consideration.