SlideConfig
Per-slide configuration that can also be set at the global or presentation level and cascaded. Most values are emitted as data-* attributes on the slide's <section> at render time.
Transitions: set transition for a symmetric in/out transition, or transitionIn / transitionOut for independent directions; unset values fall back to Transition.SLIDE.
Backgrounds: background is a generic color/image string (reveal.js data-background); the more-specific background* properties map to data-background-color, data-background-image, etc.
Properties
reveal.js data-background — any valid color or image reference.
Solid background color (data-background-color).
URL of an iframe shown as the slide background.
URL for a full-slide background image (data-background-image).
When true, the background iframe receives user input instead of reveal.js.
Background opacity in the range 0.0..1.0. -1.0 omits the attribute.
CSS background-position.
CSS background-repeat.
CSS background-size ("cover", "contain", or explicit dimensions).
Transition style for full-page slide backgrounds.
URL of a video shown as the slide background (data-background-video).
Loop the background video.
Mute the background video.
(Markdown + HtmlSlide) When true, the renderer skips trimIndent() on slide content. Set this if your content has meaningful leading whitespace.
(Markdown + HtmlSlide) Placeholder token the renderer replaces with the slide's current indentation level when including external content via com.kslides.include.
Values consumed by kslides itself (theme, highlight plugin, corner links, iframe sizing, etc.).
(MarkdownSlide only) Character set (data-charset) when loading external Markdown.
(MarkdownSlide only) Speaker-notes separator regex (data-separator-notes). Only emitted when both markdownSeparator and markdownVerticalSeparator are also set; setting data-separator-notes in isolation would disable the default --- / -- separators.
(MarkdownSlide only) Horizontal-slide separator regex (data-separator).
(MarkdownSlide only) Vertical-slide separator regex (data-separator-vertical).
Values that correspond to documented reveal.js config options.
Slide-transition style for both directions. Transition.UNASSIGNED inherits.
Inbound slide transition. Transition.UNASSIGNED uses transition instead.
Outbound slide transition. Transition.UNASSIGNED uses transition instead.
Transition speed. Speed.UNASSIGNED inherits.
Functions
Copy all entries from other's maps into this config's maps. Later puts overwrite earlier ones.