[][src]Function dprint_plugin_markdown::format_text

pub fn format_text(
    file_text: &str,
    config: &Configuration
) -> Result<Option<String>, String>

Formats a file.

Returns the file text when the file was formatted, None when the file had an ignore comment, and an error when it failed to parse.