recipemd

Crates.iorecipemd
lib.rsrecipemd
version0.1.0
sourcesrc
created_at2023-08-03 12:40:07.260834
updated_at2023-08-03 12:40:07.260834
descriptionParser for the RecipeMD format
homepage
repositoryhttps://github.com/d-k-bo/recipemd-rs
max_upload_size
id933606
size336,169
David C. (d-k-bo)

documentation

README

recipemd-rs

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

This implementation tries to be as close as possible to the specification. This results in some differences to the reference implementation written in Python. See the related issue for details.

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

Commit count: 3

cargo fmt