manim-slides icon indicating copy to clipboard operation
manim-slides copied to clipboard

[FEATURE] Support mixing horizontal and vertical slides when exporting to HTML

Open jeertmans opened this issue 2 months ago • 0 comments

Terms

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_slide that 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

jeertmans avatar Oct 03 '25 07:10 jeertmans