2022-11-12 12:45:17 -05:00
|
|
|
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");
|
|
|
|
|
2022-11-20 13:13:48 -05:00
|
|
|
let p = jotdown::Parser::new(&src);
|
|
|
|
let v = p.iter().collect::<Vec<_>>();
|
|
|
|
print!("{:?}", v);
|
2022-11-12 12:45:17 -05:00
|
|
|
}
|