Skip to content

feat: add paused slide support#337

Open
ebjarstal wants to merge 2 commits intomaaslalani:mainfrom
ebjarstal:paused-slides
Open

feat: add paused slide support#337
ebjarstal wants to merge 2 commits intomaaslalani:mainfrom
ebjarstal:paused-slides

Conversation

@ebjarstal
Copy link

Hey, I'm preparing a presentation for the company I'm interning at and discovered this project. I love it and thought it could benefit from having paused slides. I looked at PR 293 from May 2024 and built on top of the ideas that were shared there.

I don't have much experience with Go so I'm open to criticism.

Changes Introduced

  • Introduces paused slide parts using a new +++ delimiter so navigation steps through parts before advancing slides
  • Updates paging to support up to 4 %d directives (e.g., “Slide %d / %d (Part %d / %d)”) while keeping the default format unchanged
  • Refactors slide parsing to split logical slides into parts and updates navigation/search handling
  • Adds documentation and an example for paused slides
  • Extends paging format handling and adds related tests
  • Unit tests added/updated in model_test.go and search_test.go
* Added a new +++ delimiter * Refactored model by splitting each logical slide into parts using a Part cursor * Navigation now steps through parts before advancing slides.
* Added support for up to 4 directives, such as "Slide %d / %d (Part %d / %d)" * Default paging format remains "Slide %d / %d".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant