googlecolab / colabtools

Python libraries for Google Colaboratory
Apache License 2.0
2.21k stars 728 forks source link

Add support to exhibit notebook as a slideshow #241

Open htadashi opened 6 years ago

htadashi commented 6 years ago

Jupyter notebooks can exhibit its cells as a slideshow (see for instance: https://medium.com/@mjspeck/presenting-code-using-jupyter-notebook-slides-a8a3c3b59d67).

It would be nice if Google Collab had support for a similar feature.

joaoplm commented 6 years ago

I agree 100%

parmentelat commented 5 years ago

For the sake of accuracy, there are mainly two options to run slides off a notebook;

The older one is based on nbconvert as mentioned in the page referenced in the first post on this issue; it involves running an external process to produce an html file

The other one is based on RISE, it is more convenient in the sense that notebook is converted to reveal on the fly, all happens in the same browser tab; one can go back and forth from notebook mode to slideshow mode, and changes can be done seemlessly in either mode.

At first sight it looks like supporting RISE would be an easier path than the other, more clumsy workflow, IMHO.

Jiang-Li commented 5 years ago

Is this function in the action list?

hugocool commented 4 years ago

Is there any progress on this issue?

g-eorge commented 3 years ago

:+1: this would be very useful.

EricKenjiLee commented 3 years ago

Adding onto the support for this! We would love to provide Colab notebooks as mediums for science communication and it would be incredibly convenient to have this feature!!!

luispereiraLJ commented 3 years ago

Another push for this one. Especially to present for non-analyst audiences would be useful. Thanks!

sebastiandres commented 3 years ago

This would indeed be awesome. Google Colab is great to show code and start coding, since it's free and you can pass it to students knowing the code will run smoothly. No hassle. But from a teachers perspective, it's missing the presentation mode that allows to focus on specific topics or not revealing the answer in the next line.

fortinux commented 3 years ago

yes, it could be a great feature for teaching

maksimu commented 3 years ago

Waiting for this feature as well

davidatada commented 3 years ago

Currently this is one feature stopping me from fully making the leap to colab for teaching. Would love to see it happen!

zdwhite commented 3 years ago

Imagine how nice it would be if you can have embedded cells actually in google slides that could reference your coding notebook cells.

Most folks are thinking about just presenting the notebook itself, but you miss out on all the quality of life improvements that a standard presentation tool brings to the table. That being said an interim solution would still be most welcome.

magick93 commented 2 years ago

Any updates to this? It would be a really fantastic feature!

pbilling commented 2 years ago

Please 😭

horoshenkih commented 2 years ago

For those who are interested in possible workarounds for teaching, I wrote a script based on nbconvert: https://github.com/horoshenkih/harbour-space-text-mining-course/blob/master/scripts/slideshow.py

It generates slides based on either HTML comments in markdown cells, or code comments in Python cells. This is the example of an annotated Colab notebook: https://colab.research.google.com/drive/1Lf71qKV0SROFNmDJk6uFy1GT6u-Xh34T?usp=sharing

A comment in an HTML cell may look like this

<!--@slideshow slide-->

And for a code cell it is like this

#@slideshow slide

Generated slides look like this: lec7.zip

Yes the workflow is not as smooth as it might be, but it works :)

LaboratorioSperimentale commented 1 year ago

Is there any news on this? It would indeed be great for teaching purposes!

khoroshyy commented 8 months ago

I agree; it would be great.

trancethehuman commented 4 months ago

This would be great. Been using Google Colab as workshop materials, and scrolling and zooming in, and switching between it and Canva is not super ideal.

sebastiandres commented 4 months ago

I've using quarto + pyodide extension, which works great for having a python console embedded without requiring an installation for users. I imagine you can use the same content and use it as slides. You can take a look here: https://pyschool.cl/ Code here: https://github.com/sebastiandres/pyschool_content