Skip to main content

snippet

Function snippet 

Source
pub fn snippet(content_json: &str, terms: &[String], width: usize) -> String
Expand description

About width characters around the first term, whitespace collapsed.