Skip to main content

print_cooklang

Function print_cooklang 

Source
pub fn print_cooklang(recipe: &Recipe, writer: impl Write) -> Result<(), Error>
Expand description

Write recipe back out as Cooklang source.

Metadata is emitted as YAML front-matter; steps are re-wrapped to the terminal width without breaking a component across lines.