Skip to content

Instantly share code, notes, and snippets.

@minrk
Created April 9, 2019 12:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save minrk/9d2d61b19521bd8a8cb7a78c1fae70a3 to your computer and use it in GitHub Desktop.
Save minrk/9d2d61b19521bd8a8cb7a78c1fae70a3 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Test notebook

Below is a normal cell with input and output:

print("Hello")
Hello

Below is a cell with a tag 'remove-input':

Hello from a hidden cell

The input of that cell is hidden by setting:

c.TagRemovePreprocessor.remove_input_tags = {'remove-input'}

in jupyter_nbconvert_config.py

See ./test-skip.md for the markdown output of

jupyter nbconvert --to markdown test-skip.ipynb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment