{"repo":"yuchanns/gray-matter-rs","free":true,"listed":false,"github":"https://github.com/yuchanns/gray-matter-rs","clone":"git clone https://github.com/yuchanns/gray-matter-rs.git","description":"A tool for easily extracting front matter out of a string. It is a fast Rust implementation of gray-matter. Parses YAML, JSON, TOML and support for custom parsers.","language":"Rust","stars":56,"topics":["markdown","matter","yaml","data","parse","rust","frontmatter","front-matter","front-matter-parsers","gray-matter"],"license":"MIT","category":"productivity","readme_excerpt":"gray matter is a tool for easily extracting front matter out of a string. It is a fast Rust implementation of gray-matter. It supports the following front matter formats: - TOML - YAML - JSON It also has an Engine trait interface for implementing your own parsers that work with gray matter. Usage Add gray matter as a dependency Append this crate to the Cargo.toml : Basic parsing Custom Delimiters The default delimiter is --- , both for front matter and excerpts. You can change this by modifiying the Matter struct. Custom close delimiter The open and close delimiter are the same by default ( --- ). You can change this by modifiying close delimiter property of Matter struct Contributors Contribution If you need more parser engines, feel free to create a PR to help me complete this crate.","default_branch":null,"files":null,"tree":[],"storefront":"/r/yuchanns","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yuchanns/gray-matter-rs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}