Skip to main content

build_block

Function build_block 

Source
pub fn build_block(markers: &BlockMarkers, body: &str) -> String
Expand description

Build a complete block string from markers and body content.

The body should NOT include the markers — they are added automatically. A trailing newline is ensured on the body.