Skip to main content

highlighted

Function highlighted 

Source
fn highlighted(text: &str, query: &str) -> impl IntoView
Expand description

把文本按命中切成纯文本与 <mark> 片段。