Skip to main content

parse_inline_markdown

Function parse_inline_markdown 

Source
pub fn parse_inline_markdown(input: &str) -> Vec<TextSpan>
Expand description

Parse an inline-markdown string into styled TextSpans.

Infallible: malformed markdown degrades to literal text (it never errors and never drops input). See the module docs for the supported syntax and rules.