-
Notifications
You must be signed in to change notification settings - Fork 27
Add option to hide code cell in Jupyter notebooks #183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
mmarchetti
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good. We should hold off merging until the corresponding Connect change is ready.
mmarchetti
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let a couple comments but the changes look good. Please hold off on merging until we are ready.
…t-python into hide-code-cells-jupyter
…agged_input are selected
…d hide_tagged_input are selected" This reverts commit 8e7e687.
…_tagged_input are selected
Add option to hide code cells when rendering Jupyter notebooks
Description
This commit adds requested feature to hide code cells when rendering Jupyter notebooks.
Usage example
After setting up Connect and rsconnect-python, the user can render a Jupyter notebook without its corresponding code cells by passing the '--hide-all-input' flag through the rsconnect cli:
To selectively hide the input of cells, the user can add a tag call 'hide_input' to the cell, then pass the ' --hide-tagged-input' flag through the rsconnect cli: