HugoGranstrom / nimiSlides

A Reveal.js theme for nimib for making slideshow presentations in Nim
https://hugogranstrom.com/nimiSlides
MIT License
78 stars 5 forks source link

Use sets instead of ranges as the primitive for animateCode #31

Closed HugoGranstrom closed 1 year ago

HugoGranstrom commented 1 year ago

Right now you can only highlight lines that are next to each other at the same time. But you could want to highlight line 1 & 3 but not line 2. To allow this, the primitive type for animateCode should be a set of lines instead of a range of lines. Both single int and ranges will be automatically convertible to sets so it shouldn't affect any existing code.