Install
Or add to Cargo.toml:
[]
= "0.0.6"
You need Rust 1.56.0 or later. Works on macOS, Linux, and Windows.
Overview
Frontmatter Gen extracts and generates frontmatter blocks from content files. It supports YAML, TOML, and JSON delimiters out of the box.
- Auto-detection of frontmatter format from delimiters
- Extraction of frontmatter and body content in a single pass
- Generation of frontmatter blocks from Rust structs via Serde
- Validation of required fields and structure
Features
| Multi-format | Parse and generate YAML, TOML, and JSON frontmatter |
| Extraction | Extract frontmatter from Markdown and other content files |
| Validation | Validate frontmatter structure and required fields |
| Fenced blocks | Support for fenced (---, +++, {) delimiters |
| Serde integration | Serialize/deserialize to Rust structs via Serde |
Usage
use extract;
Development
See CONTRIBUTING.md for setup, signed commits, and PR guidelines.
THE ARCHITECT \u1d2b Sebastien Rousseau THE ENGINE \u1d5e EUXIS \u1d2b Enterprise Unified Execution Intelligence System
License
Dual-licensed under Apache 2.0 or MIT, at your option.