Skip to content
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

Add support for new Scroll View mode of Revealjs #11034

Merged
merged 14 commits into from
Oct 16, 2024
Merged

Conversation

cderv
Copy link
Collaborator

@cderv cderv commented Oct 11, 2024

This is a new feature from 1.5 : https://revealjs.com/scroll-view/

This PR adds:

  • Support for configuration through YAML scroll-view key. scroll-view: true is a shortcut for

    revealjs:
      scroll-view:
        activate: true
    

    meaning to start the presentation in scroll view by default.

  • a menu tool item to toggle scroll view on and off, associated with new R keyboard shortcut

  • Adapt our custom footer processing to work in Scroll view mode.

  • tests for our Quarto specific support (not for the scroll view feature itself as this is revealjs)

There may still be some other side effect I did not find.

We could also so some still choices by default (like hide chalkboard button by default in scroll mode 🤷 )

I think we may discover a few side effect of this new mode, possibly also because of some Revealjs bug. We'll see

TO-DO

  • Document this new feature in Quarto-web

@cderv cderv merged commit 1dc93a9 into main Oct 16, 2024
47 checks passed
@cderv cderv deleted the revealjs/scroll-view branch October 16, 2024 16:31
@cderv
Copy link
Collaborator Author

cderv commented Oct 16, 2024

Let's document after merging as discussed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant