CopyCodeConfig
Configuration for the CopyCode reveal.js plugin. Only takes effect when PresentationConfig.enableCodeCopy is true.
Properties
Set to "always" by default. Can be set to "hover" to only show the button on hover, or "false" to disable the button entirely.
A CSS 'border' rule. Can be, for example "1px solid green".
Text color of the button after a successful copy.
A CSS 'border' rule. Can be, for example "1px solid gray".
The copy buttons display only text by default, but this setting can be changed to "icons" or "both".
Set this to false to allow copying of rich text and styles. Default true.
Functions
Merge the copycode values from other on top of this config, so a later config wins per field.
Not supported: CopyCodeConfig exposes every copycode option as a typed property and serializes them via a strict schema, so there is no place for an untyped raw value. Use the typed properties instead.