#lib #frontmatter #extract #text

extract-frontmatter

A library that allows a user to extract an arbitrary number of lines of 'front-matter' from the start of any string

13 stable releases (4 major)

4.1.1 Apr 22, 2022
4.1.0 Apr 19, 2022
3.0.2 Apr 18, 2022
2.1.0 Jan 21, 2021
0.6.2 May 2, 2020

#1144 in Parser implementations

Download history 78/week @ 2023-10-22 76/week @ 2023-10-29 56/week @ 2023-11-05 64/week @ 2023-11-12 57/week @ 2023-11-19 111/week @ 2023-11-26 44/week @ 2023-12-03 47/week @ 2023-12-10 68/week @ 2023-12-17 70/week @ 2023-12-24 44/week @ 2023-12-31 62/week @ 2024-01-07 50/week @ 2024-01-14 62/week @ 2024-01-21 93/week @ 2024-01-28 41/week @ 2024-02-04

263 downloads per month
Used in 2 crates

MIT license

16KB
153 lines

extract-frontmatter

Overview

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.

latest build docs.io documentation coverage crates.io version crates.io downloads dependents dependencies license

Versioning

This project follows Semantic Versioning principals starting with v1.0.0

Repository information

This repository is located on GitLab.com.

Usage

Example usage is available on docs.rs.

No runtime deps