Orchid has support for creating and displaying presentations in the browser from HTML/Markdown slides. Orchid is written in Kotlin, though it doesn’t offer a Kotlin server API to do this; instead Orchid statically generates the whole website which contains the presentation.
https://orchid.netlify.com/plugins/OrchidPresentations