[][src]Function extract_frontmatter::extract

pub fn extract(config: &Config, input: &str) -> String

Extract frontmatter from the given string using the provided configuration.

Arguments

ArgumentDescription
configThe configuration to use when extracting frontmatter
inputThe text to extract frontmatter from