pub fn parse_spans(input: &str) -> Vec<IndexedSpan<Style>, Global>
Available on crate feature markdown only.
Expand description

Parse the given markdown text into a list of spans.

This is a shortcut for Parser::new(input).collect().