Skip to main content

render_managed_block

Function render_managed_block 

Source
pub fn render_managed_block(kind: HookKind, schema_version: u32) -> String
Expand description

Render the full managed block (markers + body) for the given hook.

Pure: no IO. The output starts with MANAGED_START on its own line, ends with MANAGED_END on its own line, with the body sandwiched.