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

Make slides automatically #324

Open
gruelingpine185 opened this issue Dec 2, 2024 · 0 comments
Open

Make slides automatically #324

gruelingpine185 opened this issue Dec 2, 2024 · 0 comments

Comments

@gruelingpine185
Copy link

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 AM Screenshot 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant