Bloom.Components.CodeSnippet (bloom v0.0.8)
Code snippet component
Summary
Functions
Attributes
parent_class
(:string
) - CSS class for parent div. Defaults to""
.class
(:string
) - CSS class for code snippet. Defaults to""
.background_color
(:string
) - Defaults to"zinc-800"
.text_color
(:string
) - Defaults to"stone-300"
.delimiter
(:string
) - Defaults to"$"
.- Global attributes are accepted.
Slots
inner_block
(required)
Functions
Link to this function
code_snippet(assigns)
Attributes
parent_class
(:string
) - CSS class for parent div. Defaults to""
.class
(:string
) - CSS class for code snippet. Defaults to""
.background_color
(:string
) - Defaults to"zinc-800"
.text_color
(:string
) - Defaults to"stone-300"
.delimiter
(:string
) - Defaults to"$"
.- Global attributes are accepted.
Slots
inner_block
(required)