manim-slides
manim-slides copied to clipboard
[FEATURE] Support mixing horizontal and vertical slides when exporting to HTML
Terms
- [x] Checked the existing issues and discussions to see if my issue had not already been reported;
Description
As discussed in https://github.com/jeertmans/manim-slides/discussions/568, mixing vertical and horizontal slides could be a nice feature to add to the HTML export format.
A possible implementation could be (copied from https://github.com/jeertmans/manim-slides/discussions/568#discussioncomment-14581295):
That makes sense! Looking back at https://revealjs.com/vertical-slides/, maybe a simpler solution could be to have all slides in vertical mode by default, and have a special keyword in
next_slidethat triggers a new horizontal mode. To provide the same behavior as previously, we could check afterward if the presentation only has one horizontal slide and, if that's the case, unravel all vertical slides into horizontal ones.
Screenshots
No response
Additional information
No response