fixup! parse block elements

This commit is contained in:
Noah Hellman 2022-12-06 20:27:15 +01:00
parent 75b13597da
commit 8bdb598e6c

View file

@ -7,5 +7,6 @@ fn main() {
.expect("failed to read utf-8 file"); .expect("failed to read utf-8 file");
let p = jotdown::Parser::new(&src); let p = jotdown::Parser::new(&src);
jotdown::html::write(std::io::stdout(), p).unwrap(); let mut out = std::io::BufWriter::new(std::io::stdout());
jotdown::html::write(&mut out, p).unwrap();
} }