CarbonModel
public struct CarbonModel : Codable, Equatable
Represents the configuration for rendering carbon snippets.
-
Code to render as a Carbon image.
Declaration
Swift
public let code: String -
Style to apply to the generated snippet.
Declaration
Swift
public let style: CarbonStyle -
Initializes a
CarbonModelDeclaration
Swift
public init(code: String, style: CarbonStyle)Parameters
codeCode to render as a Carbon image.
styleStyle to apply to the generated snippet.
Install in Dash
CarbonModel Structure Reference