Giter Site home page Giter Site logo

live_reveal's Introduction

live_reveal

Project to implement a "LIVE" reveal version for the IPython notebook.

As you now... I like IPython and Reveal.js.

Previously, I developed an "converter" for the IPython.nbconvert lib to export ipynb to STATIC html slideshow based in Reveal.js library.

Now, you a have a non-STATIC version, instead a LIVE version... I mean, a notebook rendered as a Reveal.js-based slideshow, where you can execute code... (or show to the audience whatever you can do inside the notebook, but in a nicer way).

NOTE_1: This is the first version (0.1) presented as an extension, but my aim is to integrate it to the IPython project, so probably the codebase will change a lot with the report of bugs and recommendations from you to make it better...

NOTE_2: I am learning JS to do that, so probably the code is very ugly... I will try to improve it... the good notice is that: it works ;-)

NOTE_3: In the custom.js you have the possibility to configure (for more details check the source, it is easy...):

  • theme
  • transition
  • back-ground image url (optional)

NOTE_4: You have an ipynb presentation as a gist: https://gist.github.com/damianavila/6345426. You can test the extension with it or use it as a template... or make your own ;-)

NOTE_5: I am touching your ipynb in a "dirty" way... so, for now, make a backup of your ipynb to prevent any damage to it (I tested with no problems for several days, but who knows... it is better to prevent problems).

NOTE_6: I am assuming that you know how to install the extension... if not, look at the [INSTALL.md] (INSTALL.md) file for detailed steps to install this live_reveal extension / plugin inside your IPython.

NOTE_7: Use spacebar to go forward and shift+spacebar to go backward (or the controller in the bottom right corner). Up and Down arrows are reserved to interact with notebook cells.

NOTE_8: Use shift+Plus operator (keys shit+) to go to or jump into next code cell by showing all fragments which are all presented in between two code cells.

NOTE_9: Use #hideme tag inside code cell as starting line to hide code cell or [In] alone, but it shows its correspoding outputs [Out] only. This will work when you click on live slide / presentation mode. This is useful when you load image by using Image. For eg,

#hideme
from IPython.core.display import Image 
Image(filename='img/hello-python.png') 

The above code cell will show only its output image during the live presentation and it will not show python code. Once you come out of live presentation mode, then all #hideme code will be visible in nbviewer. PS : #hideme tag works only in firefox browser. For chrome, need to test/work out.

NOTE_10: There are some issues in firefox (if you use it, please report me any issue because I want to support both browsers), so I recommend to use Chromium/Chrome during your talks ;-)

OK, we will keep in touch.

Damián.

Arulalan.T

live_reveal's People

Contributors

arulalant avatar damianavila avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.