Skip to main content

format_source

Function format_source 

Source
pub fn format_source(
    source: &str,
    opts: &FmtOptions,
) -> Result<String, FormatError>
Expand description

Parse and format Markdown source with default parse options.

ยงErrors

Returns FormatError::Parse if source parsing fails.