pub fn compile<'a, G>(s: &'a str) -> Result<G::Output, Error<'a, G::Err>> where
    G: Default,
    G: Generator<'a>,
    Error<'a, G::Err>: From<G::Err>, 
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.