Skip to main content

render_style_block

Function render_style_block 

Source
pub fn render_style_block(merged: Option<&StyleSheet>) -> String
Expand description

Render the merged style sheet as a prompt block. Empty input returns an empty string so the placeholder substitutes to nothing in templates that don’t reference style guides.