compile_with

Function compile_with 

Source
pub fn compile_with<'a, G>(
    s: &'a str,
    gen: G,
) -> Result<G::Output, Error<'a, G::Err>>
where G: Generator<'a>,
Expand description

Parse markup language source, then generate final output using the provided generator.

See document of generator type for examples.

ยงErrors

If input source contains invalid syntax or generator failed.