pub async fn parse_content(
content: &str,
format: DocumentFormat,
) -> Result<ParseResult>Expand description
Parse a document from content using the appropriate parser.
§Arguments
content- The document contentformat- The document format
§Returns
A ParseResult containing the extracted nodes.