Last active
December 11, 2015 21:28
-
-
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…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python ../nbconvert/nbconvert.py -f reveal reveal-test.ipynb | |
reveal-test_slides.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment