Type Method
codeColors(_:identifier:)
Creates a message that indicates what code colors a renderer uses to syntax highlight code listings.
static func codeColors(_ codeColors: CodeColors, identifier: String = generateUUID()) -> Message
Parameters
codeColorsThe code colors information that a renderer uses to syntax highlight code listings.
identifierAn identifier for the message.
Discussion
A “codeColors” message is sent as a response to a requestCodeColors message and provides code colors preferences that a renderer uses when syntax highlighting code. The string value of this message type is codeColors.