2024-08-02 19:49:10 +03:00
|
|
|
use dalet::parsers::gemtext::parse_gemtext;
|
|
|
|
|
|
|
|
#[test]
|
|
|
|
fn gem_text() {
|
|
|
|
let text = include_str!("./gemtext.gmi");
|
|
|
|
|
2024-08-04 11:10:43 +03:00
|
|
|
let parsed = parse_gemtext(&text).unwrap();
|
2024-08-02 19:49:10 +03:00
|
|
|
|
|
|
|
println!("{:#?}", parsed);
|
|
|
|
}
|