- Notifications
You must be signed in to change notification settings - Fork170
Cloud Native Presentation Slides with Jupyter Notebook + Reveal.js
License
datitran/jupyter2slides
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Microsoft PowerPoint is cool. I like it! It is like a Swiss army knife for consultants. You can make beautiful slides with it. When it comes to code though, PowerPoint sucks. Really! The solution is to usereveal.js. It is cool. You can use Markdown to highlight code. It is responsive but like LaTeX, it can be tedious.
Another way to use reveal.js is through Jupyter Notebook. You just create a notebook and then usenbconvert to get reveal.js slides as well. The standard output is however boring. I seriously mean it! This repo therefore tries to bridge this gap by using customized colors and images.
Moreover, we live in a cloud native world with a cloud native lifestyle, cloud native storage, cloud native solution. Why not having cloud native presentation slides then? This repo also solves this problem by simply usingcf push.
Create the conda environment:
conda env create -f environment.ymlYou can find a notebook template in the
staticfolder which contains some examples like cover and divider slides, markdown syntax and many more. Here is alink for a nice intro into creating slides with Jupyter notebook.When you are done with editing your notebook, you need to generate the slides with this command:
# from ./jupyter2slides/python create_slides.py --file static/presentation_template.ipynbNow you can either call this command to serve the presentation on your local machine
python run.py --file static/presentation_template.slides.htmlor just use
cf pushto push it to the cloud. I use Flask to serve those static files.To convert the slides to pdf, I usedecktape:
cd decktape-1.0.0/./phantomjs decktape.js generic --keycode=Space "http://0.0.0.0:9099/" presentation_template.pdfor you can also use the
?print-pdfoption but this is not recommended as the formatting is not displayed correctly.
- Python 3.6.*
- nbconvert 5.3.*
- reveal.js 3.1.0
You can change everything in thecustom.css file.
If you need to change the footer, openjupyter_template.tpl and go toChange footer here.
The image used for the cover slide is fromPexel and the favicon is fromfreefavicon. They are both free to use.
Yes, but this is not recommended as the colors might be broken due to differences in the css styles.
About
Cloud Native Presentation Slides with Jupyter Notebook + Reveal.js
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.