Function parse_document_with_broken_link_callback

Source
pub fn parse_document_with_broken_link_callback<'a, 'c>(
    arena: &'a Arena<AstNode<'a>>,
    buffer: &str,
    options: &Options<'_>,
    callback: Arc<dyn BrokenLinkCallback + 'c>,
) -> &'a AstNode<'a>
👎Deprecated since 0.25.0: The broken link callback has been moved into ParseOptions.
Expand description

Parse a Markdown document to an AST, specifying ParseOptions::broken_link_callback.