KSlidesConfig

Cross-cutting configuration applied to every presentation. Set via com.kslides.KSlides.kslidesConfig.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Per-request timeout for the Ktor HTTP client used for outbound calls (Kroki, other diagram services). Increase if Kroki takes longer than 30 s on your network.

Link copied to clipboard

Base stylesheets injected into every presentation's <head>. Theme and highlight stylesheets are appended separately based on PresentationConfig.theme / highlight.

Link copied to clipboard

Static asset directories served from reveal.js's bundled content. Additional entries here expose more subdirectories of src/main/resources/revealjs/ over HTTP.

Link copied to clipboard

Base JavaScript files injected into every presentation. Reveal.js plugin scripts are appended separately. A relative JsFile.filename resolves against its JsFile.origin, like cssFiles.

Link copied to clipboard

Kroki server URL used by com.kslides.diagram to render diagrams.

Link copied to clipboard

Lets-Plot JS runtime version loaded by generated letsPlot{} iframes. Must match the lets-plot-common core version pulled in transitively by the lets-plot-kotlin-jvm artifact on the classpath (e.g. lets-plot-kotlin-jvm:4.14.0 → Lets-Plot core 4.10.1). Keep this in sync whenever the letsplot version in gradle/libs.versions.toml is bumped; the ConfigsTest "KSlidesConfig pins letsPlotJsVersion to the lets-plot core version" case pins the expected value. Overriding here avoids a library release when a compatible JS runtime is published upstream.

Link copied to clipboard

CSS class used by Kotlin Playground to mark editable code blocks.

Link copied to clipboard

URL of the Kotlin Playground runtime loaded inside generated Playground iframes.