Crate extract_frontmatter

Source
Expand description

A Rust library that allows a user to extract an arbitrary number of lines of “front-matter” from the start of any multiline string.

Note that absolutely no parsing of extracted front-matter is performed; this is designed to output its results for another library to then parse.

See Extractor for how to use this library.

Modules§

config
Configuration options that can be applied to Extractor.

Structs§

Extractor
Holds configuration for how front-matter and data should be extracted from a string.