1

I know one can hide the code in the entire notebook - just looked at this question and magnificent answer How to hide code from cells in ipython notebook visualized with nbviewer? - but can one do that for individual notebook cells?

Community
  • 1
  • 1
famargar
  • 3,258
  • 6
  • 28
  • 44
  • 1
    You can with nbconvert and a custom template - have a look at https://github.com/michaelpacer/hiding_tags_nbconvert – Thomas K Oct 27 '16 at 09:44
  • Thanks Thomas. I took a quick look and am not sure yet on how to use it. If you have a quick example to post, that would be great. – famargar Nov 03 '16 at 14:41
  • 1
    At the moment there's no way to use custom templates with nbviewer, so it would have to be at the command line. The README in that repo has an example for using it at the command line. – Thomas K Nov 03 '16 at 16:39

0 Answers0