pub fn parse(s: &str) -> Result<Vec<Segment<'_>>, MarkupError>Expand description
Parse s into its segments (spec-0096 §3.1). A line with no markup is one
Segment::Text (or none, if empty).
pub fn parse(s: &str) -> Result<Vec<Segment<'_>>, MarkupError>Parse s into its segments (spec-0096 §3.1). A line with no markup is one
Segment::Text (or none, if empty).