'Output scroll with Sphinx in jupyter notebook

If I have a long output cell in a jupyter notebook, for example for the following code, it's possible to activate the scroll on it:

for ii in range(40):
    print(f"this is output line {ii}")

I'm also rendering the notebook with Sphinx for a documentation, but it doesn't include the scroll bar for the output cell.

I tried to add the proposed "scroll-output" and "output_scroll" tags, but they have no effect.

Is there a way to fix this issue?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source