Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yodatak opened this issue May 13, 2024 · 1 comment
Open

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

yodatak opened this issue May 13, 2024 · 1 comment
Labels
enhancement New feature or request has workaround

Comments

@yodatak
Copy link

yodatak commented May 13, 2024

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"

@yodatak yodatak added the enhancement New feature or request label May 13, 2024
@KermanX
Copy link
Member

KermanX commented May 29, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request has workaround
Projects
None yet
Development

No branches or pull requests

2 participants