Skip to content

Instantly share code, notes, and snippets.

@mvidaldp
Created April 16, 2020 15:35
Show Gist options
  • Save mvidaldp/193c2f5fc1aaa4e587c8289a26523cd6 to your computer and use it in GitHub Desktop.
Save mvidaldp/193c2f5fc1aaa4e587c8289a26523cd6 to your computer and use it in GitHub Desktop.
How to convert Jupyter Notebook into Reveal.js slides excluding code
  1. Assuming your slides are already defined on your notebook, add the tag to_remove to all cells you don't want the code to be shown on your presentation.
  2. Then run this on your terminal:
jupyter nbconvert presentation.ipynb --to slides --no-prompt --TagRemovePreprocessor.remove_input_tags={\"to_remove\"} --post serve --SlidesExporter.reveal_theme=simple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment