#324·slides

Make slides automatically

Author: gruelingpine185Created Dec 2, 2024Updated Apr 27, 2025

Is your feature request related to a problem? Please describe. I'm using Slides to render my Advent of Code prompt as well as the README.md files in that repo. I curl the prompt, convert it to markdown, and render it, but often times the content exceeds the slide's boundaries. This means I have to scroll up to see the rest of the document.

What it looks like upon launch:

Screenshot 2024-12-02 at 11 20 24 AM

What it looks like after scrolling to the top. Eventually, the output gets muddied by that of previous runs or other commands.

Screenshot 2024-12-02 at 11 21 38 AMScreenshot 2024-12-02 at 11 22 45 AM

Describe the solution you'd like What if Slides broke the document into several slides automatically to fit in view if no slide delimiter --- was encountered? Or if the nearest slide delimiter is not within the viewing bounds?

Describe alternatives you've considered I tried to write a script that will insert a slide separator every N paragraphs, but that failed miserably. Not to mention, it does not account for long paragraphs or any edge cases that may come up.

As far as using other programs, I have not considered that. Plus, if there is an opportunity to make the program I am using better in some way or another, I'd try that long before switching.