compile

Function compile 

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

Parse markup language source, then generate final output using the default configure of a generator type.

See document of generator type for examples.

ยงErrors

If input source contains invalid syntax or generator failed.