asciidoctor-reveal.js icon indicating copy to clipboard operation
asciidoctor-reveal.js copied to clipboard

Fragment big list to several slides

Open gdolle opened this issue 4 years ago • 1 comments

It'd be nice to add a feature to automatically fragment long list into several slides (list height size > slides-content" max height). In particular, it would be useful for big TOC.

For example,

* item 1
* item 2
* ...
* item n
* item n+1

Could be display like

* item1
* item2

ifdef::backend-revealjs[=== !]

* item n
* item n+1

but without splitting the original list into two list.

gdolle avatar Sep 14 '20 21:09 gdolle

It's tricky because it depends on the styles applied and on the size of the slide. If you don't want to do it manually, then I would recommend to use a tree processor extension to fragment the content accordingly to your needs.

A long list could also be splitted in two (or more) columns. You could also decide to show the first items and hide the others in your presentation...

Anyway, I feel like this feature will be "hard" to get right and most of the time inadequate. So I don't think we should include it in core.

ggrossetie avatar Nov 28 '20 21:11 ggrossetie