Skip to main content

render_events

Function render_events 

Source
pub fn render_events<'a>(
    source: &str,
    events: impl IntoIterator<Item = Result<Event<'a>, StreamError>>,
    options: &CompileOptions,
    output: &mut impl Write,
) -> Result<(), StreamError>
Expand description

Render events with the shared HTML writer.

ยงErrors

Returns parser, malformed-stream, invalid-range, or output errors.