Skip to main content

markdown_to_string

Function markdown_to_string 

Source
pub fn markdown_to_string(
    recipe: &Recipe,
    name: &str,
    scale: f64,
    converter: &Converter,
) -> Result<String, Error>
Expand description

Render a recipe as Markdown, into a String.

Convenience over markdown::print_md, which stays the primitive.