Skip to main content

parse

Function parse 

Source
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).