jotdown/src/main.rs
Noah Hellman fe45519ca9 wip
2023-02-05 20:36:39 +01:00

12 lines
276 B
Rust

use std::io::Read;
fn main() {
let mut src = String::new();
std::io::stdin()
.read_to_string(&mut src)
.expect("failed to read unicode file");
let p = jotdown::Parser::new(&src);
let v = p.iter().collect::<Vec<_>>();
print!("{:?}", v);
}