Skip to main content

remove_front_link

Function remove_front_link 

Source
pub fn remove_front_link(
    text: &str,
    same: impl Fn(&str) -> bool,
) -> (String, bool)
Expand description

The text without the front matter links same picks, and whether there were any. A link written in the text itself is left: it is the note’s words.