Skip to content

frontmatter 0.1.0

Choose a tag to compare

@gadenbuie gadenbuie released this 15 Jan 13:37
115a18e
  • Initial CRAN release.

  • Extract and parse YAML or TOML front matter from text documents with read_front_matter() or parse_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
  • Fast C++ parsing with graceful handling of incomplete front matter.

  • Flexible parser integration: by default uses yaml12::parse_yaml() and tomledit::parse_toml() or you can provide custom parsers.