Function dprint_plugin_markdown::format_text

source ยท
pub fn format_text(
    file_text: &str,
    config: &Configuration,
    format_code_block_text: impl for<'a> FnMut(&str, &'a str, u32) -> Result<Option<String>>
) -> Result<Option<String>>
Expand description

Formats a file.

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