Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save filipwodnicki/35bb3c7c1e42da2e25c37906c48184f6 to your computer and use it in GitHub Desktop.
Save filipwodnicki/35bb3c7c1e42da2e25c37906c48184f6 to your computer and use it in GitHub Desktop.
Demo
# Convert notebook to slides
jupyter nbconvert notebook.ipynb --TagRemovePreprocessor.remove_input_tags='{"hide_input"}' --EmbedImagesPreprocessor.resize=small --to slides --post serve
# Set slides to -> Slide
# Set tags to "hide_input"
# Convert mov to mp4
ffmpeg -i demo.mov -vcodec h264 demo.mp4
# make file custom.css in /notebooks dir, /notebooks/logo.png
body { /* Change the logo urls in the line after if needed */
background-image: url(logo.png);
background-size: 20%;
background-position: 95% 15%;
background-repeat: no-repeat;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment