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.
Three separate CSS surfaces, differing by scope:
style — inline CSS on the
<iframe>element itself, in the surrounding slide's document. Sizes and frames the box; it cannot reach the code inside.fontSize / lineHeight — typed properties rendered by cssText into the iframe's head.
css — raw rules, also in the iframe's head, emitted after cssText.
A Playground styling option earns a typed property when it needs a Playground-internal selector or a specificity workaround a deck author cannot reasonably discover (see cssText); anything reachable by an obvious selector stays in css.
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.
line-height for the Playground editor and run-output pane — a unitless ratio ("1.4") or a CSS length. Blank keeps CodeMirror's own ratio, which already scales with fontSize; set this only to tighten or loosen the spacing itself.
Highlight matching brackets in the editor.
Language/syntax mode the editor operates in.
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.
Functions
Set a raw reveal.js config option by key for options kslides does not expose as a typed property (e.g. the menu plugin's themes array). The value is emitted verbatim into the Reveal.initialize({...}) call and participates in the config cascade like any other option. Prefer the typed properties where they exist.