dalet-rs/examples/gemtext.rs

9 lines
185 B
Rust

use dalet::parsers::gemtext::parse_gemtext;
fn main() {
let text = include_str!("./gemtext.gmi");
let parsed = parse_gemtext(text).unwrap();
println!("{:#?}", parsed);
}