CodeSnippetConfig
Receiver for com.kslides.codeSnippet blocks. Describes a single reveal.js <pre><code> element with optional line highlighting, line numbers, and a copy-to-clipboard button.
Append to code by using the unary-plus operator inside the block: +"val x = 1".
Properties
When true, attaches a "COPY" button (requires the CopyCode reveal.js plugin).
Custom message shown while the "copied" state is active.
Custom button label (defaults to the plugin's "Copy" text).
When true, the HTML is escaped (default reveal.js behavior). Set to false (which emits data-noescape) when the snippet is already escaped or when you want to embed raw HTML.
reveal.js data-line-numbers pattern (e.g. "1-3|5"). Blank turns on all line numbers; the literal string "none" disables line numbers entirely.
Starting line number (data-ln-start-from). -1 omits the attribute.