dalet-rs/examples/gemtext.rs

10 lines
185 B
Rust
Raw Normal View History

2024-08-08 12:25:12 +03:00
use dalet::parsers::gemtext::parse_gemtext;
fn main() {
let text = include_str!("./gemtext.gmi");
let parsed = parse_gemtext(text).unwrap();
println!("{:#?}", parsed);
}