kirbs- / hide_code

Code, prompt and output hiding for Jupyter/IPython notebooks.
MIT License
371 stars 44 forks source link

Export to HTML and PDF still with the output #79

Closed XueWang2019 closed 4 years ago

XueWang2019 commented 4 years ago

My issue is: the hide code works fine with Notebook, but when exporting to HTML or PDF, the outputs are still there. Then I checked the configurable nbextensions for hide_code/hide_code, the info is "This nbextension is enabled in the notebook json config, but doesn't provide a yaml file to tell us how to configure it. You can still enable or disable it from here, though." I am not sure whether it is the reason. May I ask for your help for it? Thanks.

kirbs- commented 4 years ago

How are you exporting? and can you post the versions of nbconvert, notebook and jupyter your using?

XueWang2019 commented 4 years ago

I use below method to export the file: File->Download as->PDF via Latex(.pdf) The versions as below:

nbconvert jupter

Thanks.

kirbs- commented 4 years ago

Hide_code adds a new menu download menu with the various export formats. Try those.

XueWang2019 commented 4 years ago

Yes, it works. Thank you very much!

a7906375 commented 4 years ago

Hi When i try the new menu i get an error message that say you have requested a page that doesn't exists! Any idea why would this be the case. The new menu appears across the top. Any help would be appreciated. Thanks

kirbs- commented 4 years ago

Please open a new issue and I'll help you there.