-
Notifications
You must be signed in to change notification settings - Fork 131
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
Added the hide_input option #86
base: master
Are you sure you want to change the base?
Conversation
Thanks for the PR. BTW, what HTML theme are you using? About your PR: I think it's better to wait a bit to see how the "hiding" discussion in Jupyter turns out. You should join the discussion! There is some discussion in #65, which has links to more discussions in the Jupyter repos. |
Sorry for the late reply, I was offline. The theme is alabaster and what you see in the image is a pandas dataframe (not sure if this matters) |
Thanks for the update! |
Thanks for trying it again, but could you please try it with a two-digit execution count?
Sure, everything is possible. If someone else wants to give it a shot, go ahead! |
Thanks. |
Can you please check if you have this CSS in the output HTML file? div.nbinput div.prompt pre,
div.nboutput div.prompt pre {
overflow: hidden;
} |
This is not present. An interesting thing: in my test case I have essentially only 1 notebook called "preprocessor". Because of that my index points only at the preprocessor.html file. the horizontal scroll bar is present only on the left. |
If the mentioned CSS is not present, you are not using the In the screenshot you show two files with the same name ( The right one seems to be missing the external CSS (it only has the one from |
Q: 'nbsphinx_prompt_width' in the conf.py from sphinx or where to set? |
A: yes |
This partially covers #81 and #6.
With
"hide_input": true
as cell metadata the cell input is hidden but not the output.This solution is not very elegant since the "Out[10]" is still there