pub fn dump_events<'a, W, I>(writer: &mut W, events: I) -> Result<(), Error>where I: Iterator<Item = Event<'a>>, W: Write,
Dump markdown events to a writer.