Skip to main content

read_content

Function read_content 

Source
pub fn read_content(
    content: Option<String>,
    metadata: &BTreeMap<String, Value>,
) -> Option<String>
Expand description

content as a read answers it for an item whose metadata holds links: the ## Links section stripped, and None where nothing but the section was there. Content of an item holding no links is answered unchanged, so a section a person wrote is never touched.