frontmatter 0.1.0
Initial CRAN release.
Extract and parse YAML or TOML front matter from text documents with
read_front_matter()orparse_front_matter().-
Support for multiple front matter formats:
- Standard YAML (
---delimiters) and TOML (+++delimiters) - Comment-wrapped formats for R and Python files (
#and#'prefixes) - PEP 723 Python inline script metadata
- Standard YAML (
Fast C++ parsing with graceful handling of incomplete front matter.
Flexible parser integration: by default uses
yaml12::parse_yaml()andtomledit::parse_toml()or you can provide custom parsers.
