xarvh/elm-slides - version: 5.0.1

for more information visit the package's GitHub page

Package contains the following modules:

Slides

Slides is an awesome Elm presentation framework, inspired by reveal.js.

See it running.

import Slides exposing (..)


main = Slides.app

    slidesDefaultOptions

    [ md
        """
        # A markdown slide
        _stuff follows..._
        """

    , mdFragments
        [ "Another slide with three fragments"
        , "This appears later"
        , "And this even later"
        ]
    ]

Slides is customizable and, since it follows the Elm Architecture, can be used like any other Elm component.

Controls

By default, a Slides app will respond to these controls:

Style customisation

This is the DOM structure for your custom CSS:

    body
        .slides
            section /* one per slide */
                .slide-content /* useful for padding */
                    .fragment-content

TODO

Add more built-in slide and fragment animations.

Add more ready-to-use CSS themes.

Add support for touch/gestures.