openpatch / hyperbook

Hyperbook is a quick and easy way to build interactive workbooks, that support modern standards and runs superfast.
https://hyperbook.openpatch.org
MIT License
33 stars 7 forks source link

Slideshow #860

Closed mikebarkmin closed 7 months ago

mikebarkmin commented 8 months ago

In certain situations, you want to present multiple images. Therefore, a slideshow-element should be created.

I would suggest the following syntax:

:::slideshow

![](image.png "Another description")
![](image2.png "A description")

:::

The slideshow-element should have one options. The option auto controls, if the slideshow moves to the next element after a predefined time. For example, auto=5 means that after 5 seconds, the next image will be shown. The default should be auto=0 (aka disabled).

The result should look similar to this one: https://www.w3schools.com/howto/howto_js_slideshow.asp

mikebarkmin commented 7 months ago

implemented in c0d6e1e