Skip to main content

render_file

Function render_file 

Source
pub fn render_file(frontmatter: &Frontmatter, body: &str) -> String
Expand description

Render canonical file bytes without performing I/O. Transactional callers use this to stage the exact bytes that write_file would commit.