HtmlSlide

interface HtmlSlide

Shared contract for slides whose content is a raw HTML string. Implemented by HorizontalHtmlSlide and VerticalHtmlSlide.

Members prefixed with private_ are implementation details and should not be called by user code.

Inheritors

Properties

Link copied to clipboard
abstract var classes: String

CSS class list applied to the <section>.

Link copied to clipboard
abstract var id: String

HTML id applied to the <section>; blank omits the attribute.

Link copied to clipboard

Implementation detail — do not use.

Link copied to clipboard
abstract var private_htmlBlock: () -> String

Implementation detail — do not use.

Link copied to clipboard
abstract val private_slideId: Int

Implementation detail — do not use.

Link copied to clipboard
abstract var style: String

Inline CSS applied to the <section>; blank omits the attribute.

Functions

Link copied to clipboard
fun HtmlSlide.include(src: String, linePattern: String = "", beginToken: String = "", endToken: String = "", exclusive: Boolean = true, trimIndent: Boolean = true, indentToken: String = INDENT_TOKEN): String

include variant for an htmlSlide content{} block — the one sink whose content is still parsed as markup, so escaping stays on. Identical to the bare include; it exists so every sink is receiver-resolved, rather than htmlSlide being the one whose behavior comes from the absence of an overload.

Link copied to clipboard
abstract fun processSlide(section: SECTION)

Apply the slide's attributes to the enclosing <section>. Invoked by the renderer.