Giter Club home page Giter Club logo

Comments (7)

akhmerov avatar akhmerov commented on July 20, 2024

For a reference, this is previous discussion of the same topic: ipython/ipython/issues/3589

Personally I completely agree with all @bollwyvl's arguments, and I found the scrolls in presentations to be a huge pain which required a lot of manual tweaking.

from nbconvert.

yadongli avatar yadongli commented on July 20, 2024

I run into the scrollbar problem when migrating my old IPython notebook slides to the new jupyter version, and suddenly my formulas on the slides are surrounded by scrollbars in both x and y directions, I've tried to put the following text into my custom.css, and regenerate the slides.html using nbconvert, but the scroll bars still show up. Any suggestions on how can I remove the scrollbars from the html/reveal slides generated from nbconvert?

.reveal {
overflow-y: hidden;
}

from nbconvert.

akhmerov avatar akhmerov commented on July 20, 2024

@yadongli this issue is about different scrollbars. Your problem is rather related to #38, but different. Do you mind opening a new issue with an example notebook that reproduces the problem? (as far as I can tell, this issue wasn't reported yet)

from nbconvert.

yadongli avatar yadongli commented on July 20, 2024

Thank you for your prompt reply. I have submitted a new issue #152, thanks!

from nbconvert.

damianavila avatar damianavila commented on July 20, 2024

I am working on this in PR #600

Essentially I default now to disable the scrolling functionality, but still the user have the option to activate the scrolling (which is now per slide, not the whole slide) just adding the option

--SlidesExporter.reveal_scroll=True

at the command line.

from nbconvert.

damianavila avatar damianavila commented on July 20, 2024

PR #600 was merged. Now scrolling is False by default and you can turn it on with the option I showed in the previous comment. Closing this one now.

from nbconvert.

gaksaray avatar gaksaray commented on July 20, 2024

Sorry to raise an ancient thread here but I couldn't find any answers. I use --SlidesExporter.reveal_scroll=True option to have Reveal.js slides vertically scrollable when their contents overflow:

jupyter nbconvert lecture1.ipynb --to slides --SlidesExporter.reveal_scroll=True

But, this doesn't seem to work in full screen mode (by pressing ยปFยซ on keyboard or by making the browser window full screen). That is, when I'm on a scrollable slide and I make it full screen, the vertical scrollbar disappears. Any ideas why this might be and how to make overflown slides scrollable in full screen mode?

Versions:
jupyterlab 4.1.2
nbconvert-core 7.16.1

from nbconvert.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.