[−][src]Function extract_frontmatter::extract
pub fn extract(config: &Config, input: &str) -> String
Extract frontmatter from the given string using the provided configuration.
Arguments
Argument | Description |
---|---|
config | The configuration to use when extracting frontmatter |
input | The text to extract frontmatter from |