Skip to content

Let there be docs!

Compare
Choose a tag to compare
@HugoGranstrom HugoGranstrom released this 28 Jun 21:25
· 16 commits to main since this release
216d3c8
  • Docs
    • nimiSlides finally have somewhat proper docs!
    • You can see the API docs here.
    • And I have spent time writing tutorials for most of the features of nimiSlides with embedded showcases for each feature. You can find these in a neat nimiBook here.
  • @svenrdz has made their first contributions to nimiSlides which I am very grateful of ❤️ :
    • Update to latest Reveal.js version (4.5.0).
    • Added Dracula theme.
    • Added support for gradient backgrounds (see the background tutorial for examples)
  • Added disableVerticalCentering which when called disables Reveal.js' automatic vertical (up-down) centering, placing the content at the top of the slides.
  • fadeIn finally works!
    • The fadeIn fragment has always been a bit of a weird fella. But now it should behave as expected.
    • This didn't work before, but does now: fragment(@[fadeIn, grows]). Before it would just ignore the fadeIn, but now it is taken into account.
  • animateCode accepts sets now!
    • You can now supply a set to animateCode to highlight lines that aren't next to each other.
    • For example, animateCode(1, {2, 4..6}): body will first highlight line 1, then lines 2, 4, 5, 6.
    • This was possible before, but it was inconvenient, and you had to use a low-level API to achieve it.