slidevjs / slidev

Presentation Slides for Developers
https://sli.dev
MIT License
32.8k stars 1.33k forks source link

When a slide don't fit on one page create a new page automaticly #1590

Open yodatak opened 4 months ago

yodatak commented 4 months ago

Is your feature request related to a problem? Please describe. I make documentation for a formation on linux and i have slide that don't fit to one slide and thereis not indicator it don't fit so i have to manualy add a slide and divide content, i could be awsome to automaticly add a slide when content don't fit or have a indicator that the content don't fit

Describe the solution you'd like Have a conf seting to automatic slide adding like i put my content into markdown and if its don't fit it add slide or add something like slide 48-1 48-2 or something

Describe alternatives you've considered Show slide and manualy add content to another slide and duplicate title to add like "The sh command 1/2"

KermanX commented 4 months ago

This could be hard to implement, because each slide project may has its own rules on how to automatically split slides.

As a workaround, you can use a preparser (https://sli.dev/custom/config-parser) to split/generate slides before Slidev processes it.