Skip to main content

parse

Function parse 

Source
pub fn parse(input: &str) -> Option<AttributedString>
Expand description

Parse inline Markdown into an AttributedString.

Returns None only if the produced ranges fail the model’s validation (which should not happen for well-formed UTF-8 input; the parser never splits code points).