Skip to content

Instantly share code, notes, and snippets.

@yoavram
Last active December 11, 2015 21:28
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yoavram/4662688 to your computer and use it in GitHub Desktop.
Save yoavram/4662688 to your computer and use it in GitHub Desktop.
A recipe for setting up IPython notebook nbconvert with reveal.js slideshows. .shfiles can also be used as .bat files, as long as you fix the \ / folder separator issue. The working directory will get a new nbconvert project. the ipython-notebooks is where you keep your notebooks. You will need git (I use version 1.8.0), python (I use 2.7.3), IP…
python ../nbconvert/nbconvert.py -f reveal reveal-test.ipynb
reveal-test_slides.html
git clone https://github.com/damianavila/nbconvert.git
cd nbconvert
git checkout reveal_converter
git submodule init
git submoudle update
cd ../ipython-notebooks
git submodule add https://github.com/hakimel/reveal.js.git
mkdir js
cp ../nbconvert/js/* js/.
mkdir notes
cp ../nbconvert/notes/* notes/.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment