Function comrak::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<'c>,
callback: Option<BrokenLinkCallback<'c>>,
) -> &'a AstNode<'a>
๐Deprecated since 0.25.0: The broken link callback has been moved into ParseOptions<โc>.
Expand description
Parse a Markdown document to an AST, specifying
ParseOptions::broken_link_callback
.