DiagramConfig

Rendering and sizing options for Kroki diagrams. Instantiated both as a standalone presentation default and as the superclass of com.kslides.DiagramDescription used inside com.kslides.diagram blocks.

Inheritors

Constructors

Link copied to clipboard
constructor()

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

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.