hakimel / reveal.js

The HTML Presentation Framework
https://revealjs.com
MIT License
67.87k stars 16.64k forks source link

Possible to add pervasive Table of Contents? #2227

Closed lazarillo closed 1 year ago

lazarillo commented 6 years ago

Apologies, this is not an "issue" in the normal sense. But putting an issue here seemed more appropriate than a question on Stack Overflow.

I am trying to switch from Beamer / Latex to Reveal, because Latex is a bit of a pain to work with. But I have a nice template in Beamer with lots of nice features.

The one that I will miss the most and am hoping to be able to keep: having a scrolling table of contents on the left side of all of the slides, like this example.

Is there any way to do this within Reveal JS? I'm presuming / hoping there is something I can do within the CSS file to create a skinny table anchored to the left, but I am unclear how I could have it automatically populated.

Thanks!

Martinomagnifico commented 2 years ago

This is not built into Reveal.js, but this plugin: https://github.com/Martinomagnifico/reveal.js-simplemenu does what you want. You can change the CSS to make it vertical on the left.

Martinomagnifico commented 1 year ago

Multiple options to add a menu are available as a 3rd party plugin. See https://github.com/hakimel/reveal.js/wiki/Plugins,-Tools-and-Hardware. For example this one: https://github.com/denehyg/reveal.js-menu