Function dprint_plugin_markdown::format_text [−][src]
pub fn format_text(
file_text: &str,
config: &Configuration,
format_code_block_text: impl for<'a> FnMut(&str, &'a str, u32) -> Result<Cow<'a, str>>
) -> Result<String>Expand description
Formats a file.
Returns the file text or an error when it failed to parse.
