It would be fantastic to have a presentation mode like RISE for Jupyter notebooks:
https://rise.readthedocs.io/en/stable/
Basically it would convert the notebook into a live presentation.
Yes that would be cool!
My current idea to use h1 and h2 tags as slide delimiters (that's # or ## in markdown). There would be a _presentation mode_, which does nothing except add a large margin above every h1 or h2 tag, and some buttons to jump between them.
You might see it in action next week!
You need to write present() in the browser console to activate it, I will add a button later :)
I get
present()
VM148:1 Uncaught ReferenceError: present is not defined
at <anonymous>:1:1
I took it out again 馃槵 but I can easily add it back in if you like? I just noticed that Markdown-only slides are a bit limiting, you need to write a bit of HTML and CSS to make things look more flashy.
For example, I wrote a two_columns(md"I am on the left", md"I am on the ") function - I can send that too!
I'd definitely like to have a go to see if it's usable!
I've added it to 0.9.8 - with the same hack to activate it :)
Great, thanks!
Could you describe what the hack is to start a presentation?
Open the Javascript console in your browser (developer tools) and type present() there.
Of course! For the record, I got confused because, on Firefox, there is a Web console and a Browser console, and present() can only be typed and work in the Web console...
@briochemc Could you let us know what you think about the presentation mode after you have tried it out?
My three cents up to now:
present function, i.e., something like
x by moving either slider. But it is a bit annoying that the other slider does not update its position (as you can see they are not synced). Maybe that's intended though?Thanks! 3 and 4 are useful for Pluto in general, I have added them to the suggestion box.
1 and 2 might be nice to have, but I think a bigger issue is that slides written in md"" are just not exciting enough. (That's why this is still a hidden feature.) What could be added to make slides more attractive?
Remark looks fun, but it's not trivial to integrate with Pluto
FYI, I just mentioned remark for inspiration for the sizing (font size and spacing), but I guess there are plenty of other sources of inspiration out there, like, e.g., RISE. And 2 was because I felt like I had to manually zoom in on my browser to get a good font size, but then the h1 and h2 titles seemed too big.
BTW, I should mention that Pluto already looks great anyway! 馃槂
_note to self: the autoscrolling should be disabled in presentation mode_
You need to write
present()in the browser console to activate it, I will add a button later :)
you don't have to, users can do it by themselves.

Yep, now I can play presentations on my cell phone browser!
note to self: the autoscrolling should be disabled in presentation mode
I find it quite useful to allow autoscrolling when you want to demonstrate a long example. I think it is a feature rather than a flaw. It will be nicer to have an argument in present function to allow both modes.
In RISE, when the content overflows, the display looks terrible.
Overflow can happen when you try to zoom the page, trigger a long error message or change your display device to one with a smaller screen.
When you scroll, you don鈥檛 have the overflow issue.
I love this feature. Two questions:
unpresent())?
- Is there a function to exit (e.g.
unpresent())?
Call present() again to exit.
2. Can I put in a pause in the middle of a slide to gradually uncover cells?
No, but you can copy paste the same slide a couple of times, and delete parts of it
Are we satisfied with the current presentation mode? Then I'll add a button in the export menu
2. Can I put in a pause in the middle of a slide to gradually uncover cells?No, but you can copy paste the same slide a couple of times, and delete parts of it
That's certainly a workaround. Just requires a bit of code replication I was hoping to avoid.
I can open another issue with this feature request.
one idea is when rendering a cell in presentation mode, if it has multiple ## under #, put them in separate slides when presenting
What I had in mind is like RISE's feature for fragment cells
@Moelf what do you mean? this sounds like the current behavior
@AsafManela that sounds like something that an external package/code should do
you're right
@fonsp would you mind sharing the functions you used for layouting your JuliaCon presentation?
nice to hear about that.
Most helpful comment
you don't have to, users can do it by themselves.
Yep, now I can play presentations on my cell phone browser!