I've built some view functions that take Kotlin data classes, and return HTML built using kotlinx-html. I've been looking for a good solution to get a live HTML preview as I change the code.
Kotlin worksheets are almost there, I can run the functions and return HTML string but they don't currently have a way to render the HTML in the worksheet output (
open request). As a workaround, I tend to use the worksheet and then save that to a file which I load in to a browser.
Does anyone have a better solution?