DiagramDescription

Receiver for diagram blocks. Extends DiagramConfig so you can override size, style, and output format in the same block that sets source.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

height attribute on the emitted <img>. Blank omits the attribute.

Link copied to clipboard

Values consumed by kslides itself (theme, highlight plugin, corner links, iframe sizing, etc.).

Link copied to clipboard

Per-diagram-type options forwarded to Kroki as diagram_options. See the Kroki docs for the keys each diagram type supports.

Link copied to clipboard

Image format requested from Kroki. Defaults to DiagramOutputType.SVG.

Link copied to clipboard

Values that correspond to documented reveal.js config options.

Link copied to clipboard

diagram source text in the language matching the diagramType passed to diagram (e.g. PlantUML, Mermaid, Graphviz DOT).

Link copied to clipboard

Inline CSS applied to the emitted <img>.

Link copied to clipboard

Accessible title text (shown as tooltip and read by screen readers).

Link copied to clipboard

width attribute on the emitted <img>. Blank omits the attribute.

Functions

Link copied to clipboard
fun merge(other: AbstractConfig)

Copy all entries from other's maps into this config's maps. Later puts overwrite earlier ones.