gnab / remark

A simple, in-browser, markdown-driven slideshow tool.
http://remarkjs.com
MIT License
12.7k stars 856 forks source link

Jump to slide with incremental slides #682

Open PierreMarchand20 opened 2 years ago

PierreMarchand20 commented 2 years ago

When using countIncrementalSlides: false, the shortcut to jump to a slide given a number uses the numbering defined with countIncrementalSlides: true. It would be nice if it could just jump to the first slide with the requested number.

Example:

# First slide

- First item

--

- Second item

---

# Second slide

2+enter will just show the second item and not the second slide.

mschilli87 commented 2 years ago

How would you navigate to the second item then?

PierreMarchand20 commented 2 years ago

I would only use arrows to get there. I do not see how we can know the number of each slide if it is not the one displayed anyway. But I understand it is debatable.

If I have a presentation with 50 slides, and among them some incremental slides, I do not see how I can use the current shortcut.

mschilli87 commented 2 years ago

I understand your perspective as well. But at least now it is possible to reach any (incremental) slide from any other, even if unintuitive and maybe even complicated. Sometimes I have many incremental slides, so arrow keys might make for a very 'hectic' transition.

PierreMarchand20 commented 2 years ago

It is a matter of taste I guess. To me, even if it is possible to reach any slide at the moment, in practice it is not doable, I cannot remember the number of every slide, especially with many incremental slides.

Feel free to close if you think there is no other possibility.