PlaygroundConfig
Kotlin Playground embedding options. The top section mirrors the attributes defined by the Kotlin Playground library itself; the lower section controls the iframe wrapper kslides generates around it.
CSS declared via css is injected into the generated iframe's <head> — use it to tweak font size or editor height for the embedded Playground, not to style the surrounding slide.
Properties
Automatically re-indent the code as the user types.
Enable autocomplete in the Playground editor.
Toggle for Playground's "open in IDE" crosslink button.
When true, disables the Run button and just syntax-highlights the code.
Space-separated list of JS library URLs loaded before JS-target code runs.
Minimum Kotlin compiler version that must be available on the Playground backend.
Maximum output-pane height in pixels.
CodeMirror scrollbarStyle (e.g. "simple", "null").
Shorter editor height variant (pixels).
Execution target for the embedded code (e.g. JVM, JS, JUnit).
When true, collapses the editor behind a "Show code" button.
Re-highlight code while it is being edited.
Values consumed by kslides itself (theme, highlight plugin, corner links, iframe sizing, etc.).
Highlight matching brackets in the editor.
Language/syntax mode the editor operates in.
Values that correspond to documented reveal.js config options.
When true, the generated Playground HTML is cached for the lifetime of the com.kslides.KSlides instance. Set to false only if the Playground content depends on runtime state that changes between requests.
Editor color theme.