[][src]Function dprint_plugin_markdown::format_text

pub fn format_text(
    file_text: &str,
    config: &Configuration,
    format_code_block_text: Box<dyn Fn(&str, &str, u32) -> Result<String, String>>
) -> Result<String, String>

Formats a file.

Returns the file text or an error when it failed to parse.