Skip to content
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

Hide Cell #303

Open
julesy89 opened this issue May 21, 2019 · 1 comment

Comments

@julesy89
Copy link

@julesy89 julesy89 commented May 21, 2019

Hey,

For me hiding the cell's input but not the output did not work.

nbconvert 5.5.0
nbformat 4.4.0
nbsphinx 0.4.2

Always the input AND the output was hidden. When I move the
{%- if cell.metadata.nbsphinx != 'hidden' %}
line into the {% block input -%} it works.

However, in some cases it might make sense to hide both.

Is it possible to introduce a tag like "hide_input", "hide_output" and "hide"?

Please let me know if you are not able to reproduce the hide behaviour I had.

Julian

@mgeier

This comment has been minimized.

Copy link
Member

@mgeier mgeier commented Jun 25, 2019

Is it possible to introduce a tag like "hide_input", "hide_output" and "hide"?

Sure, it's possible and it has been requested before, see e.g. #65.

There are even some unfinished pull requests: #86, #185.

Feel free to work on either one of them or to create a new one!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.