Skip to content

Rust parser for the RecipeMD format

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

d-k-bo/recipemd-rs

Repository files navigation

recipemd-rs

Build Status Crates.io Documentation License: LGPL-3.0-or-later

A library for parsing recipes written in markdown that follows the RecipeMD specification.

Example

const MARKDOWN: &str = r#"# Water

A refreshing drink that should be consumed several times a day.

*drink, non-alcoholic, H2O*

**1 glass**

---

- *1* glass
- *1* faucet

---

Turn on the faucet and fill the glass.
"#;

let recipe = Recipe::parse(MARKDOWN)?;
println!("{recipe:#?}");
Result of the above program

(If it doesn't show up, visit the docs instead)

License

This project is licensed under the GNU Lesser General Public License version 3 or (at your option) any later version (LGPL-3.0-or-later).