Skip to main content

semantically_equivalent

Function semantically_equivalent 

Source
pub fn semantically_equivalent(
    source: &str,
    formatted: &str,
) -> Result<bool, ParseError>
Expand description

True iff the two Markdown sources parse to the same canonical document signature under default recognition policy.

ยงErrors

Returns ParseError if either input cannot be parsed safely.