spatialaudio / nbsphinx

:ledger: Sphinx source parser for Jupyter notebooks
https://nbsphinx.readthedocs.io/
MIT License
450 stars 130 forks source link

Hide cell outputs #680

Open gianlucadetommaso opened 1 year ago

gianlucadetommaso commented 1 year ago

Hello, is it possible to have scrollable notebook cell outputs in nbgalleries? Even if cells outputs can be scrolled in Jupyter, they appear unscrolled when rendered by nbsphinx. Any solution?

Thanks a lot!

mgeier commented 1 year ago

I wanted to implement this for a long time, but I never actually did it.

Do you want to take a shot and create a PR for this?

If not, it would already help if you could update the code-cells.ipynb notebook in the documentation to include a scrolled output.

Also, you could try to find the relevant CSS from JupyterLab (or classic).