#front-matter #unstable #parser

nightly mdmatter

A simple front matter parser (unstable)

1 unstable release

Uses old Rust 2015

0.0.1 Oct 12, 2016

#40 in #front-matter

MIT license

3KB
56 lines

mdmatter (unstable)

mdmatter is a simple Rust library for extracting front matter from a markdown file.

Currently, this library only scans for the triple backtick. Eg:

```

And not:

---

Usage

See ./examples/basic.rs for example usage. Run with:

cargo run --example basic

TODO

  • Scan for classic --- frontmatter tags as well.

Dependencies

~655KB
~13K SLoC