2 unstable releases

new 0.2.0 Feb 21, 2025
0.1.0 Aug 3, 2023

#1474 in Parser implementations

Download history

66 downloads per month

LGPL-3.0-or-later

125KB
2.5K SLoC

Python 1.5K SLoC // 0.1% comments Rust 1K SLoC // 0.0% comments Batch 26 SLoC INI 19 SLoC

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).

Dependencies

~4–11MB
~124K SLoC