A presentation is Kotlin


              
            
RevealKt builds the HTML. Reveal.js handles navigation, layout and interaction. Press Right to explore.

Walk through the code


              
            
Press Right twice: the highlighted line advances before the next slide. DSL: code(lang = "kotlin", lines = "1|2|3").

Compose a two-column layout

The DSL


                  
                

The result

These are actual row and column elements. Put text, code or images side by side.

1. Functions

Extract repeated content into reusable Kotlin functions.

              
            
This slide and its neighbor come from the same loop in the source. Open View Kotlin source on the documentation page.

2. Data

Generate slides from lists, models or calculated values.

              
            
This slide and its neighbor come from the same loop in the source. Open View Kotlin source on the documentation page.

Notes for the presenter


              
            
Open this presentation in its own tab, then press S for speaker view. Allow the popup to see the note and presentation timer.