Skip to main content

inline_md

Function inline_md 

Source
pub fn inline_md(text: &str) -> Vec<Run>
Expand description

Inline markdown to DOM runs: **bold**, *italic* / _italic_, ***both***, `code` (verbatim), http(s) links (a.link, hit url:…) and @nick mentions (a.mention, hit nick:…). Unclosed markers stay literal; _ only opens at a word start and closes at a word end (snake_case stays as is).