KSlides
Root orchestrator for a set of presentations. Instances are not meant to be constructed directly — use the kslides top-level function instead, which applies the DSL block and then triggers the configured output modes.
Holds global configuration (kslidesConfig, presentationConfig, output), shared CSS (css), and the collection of Presentation definitions produced by each presentation block. Also caches iframe and Kroki content so repeated lookups from the Ktor server do not re-execute expensive content generators.
Properties
Functions
Configure values that apply to all presentations (e.g. static asset roots, Playground URL, Kroki URL, Lets-Plot JS version, HTTP client timeout). The block is evaluated after the full kslides {} DSL so that later kslidesConfig{} calls override earlier ones.
Configure how the presentations are emitted: filesystem mode (enableFileSystem), HTTP mode (enableHttp), output directory, HTTP port, etc.
Register a Presentation definition. Each call adds one entry; the path assigned inside the block determines its URL (HTTP mode) or output filename (filesystem mode).
Default PresentationConfig applied to every Presentation. Per-presentation overrides take precedence; see the configuration-cascade description in the project README.