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 more RISE config options to SlidesExporter #2147

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lkeegan
Copy link
Contributor

@lkeegan lkeegan commented May 7, 2024

  • reveal_overlay
  • reveal_header
  • reveal_backimage
  • reveal_footer

These options are documented here: https://rise.readthedocs.io/en/latest/customize.html#decorating-all-slides
Styling and ids of these elements follow RISE: https://github.com/damianavila/RISE/blob/master/classic/rise/static/main.js#L446-L470

Also update the reveal config options using the reveal dict in the notebook metadata if provided.

- reveal_overlay
- reveal_header
- reveal_backimage
- reveal_footer

These options are documented here: https://rise.readthedocs.io/en/latest/customize.html#decorating-all-slides
Styling and ids of these elements follow RISE: https://github.com/damianavila/RISE/blob/master/classic/rise/static/main.js#L446-L470

Also update the reveal config options using the reveal dict in the notebook metadata if provided.
@lkeegan lkeegan force-pushed the add_rise_overlay_header_footer_backimage_config_options branch from 24fb9ad to f1db586 Compare May 7, 2024 12:18
@lkeegan
Copy link
Contributor Author

lkeegan commented May 7, 2024

Example of use:

jupyter nbconvert tests/files/notebook1.ipynb --to slides --execute --SlidesExporter.reveal_header="Here is the header" --SlidesExporter.reveal_backimage="https://images.pexels.com/photos/255379/pexels-photo-255379.jpeg" --SlidesExporter.reveal_footer="Here is the footer"

image

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.

None yet

1 participant