Function generate

Source
pub fn generate<F>(f: F) -> !
where F: FnOnce(&mut Config) -> Result<Document>,
Expand description

Generate an SVG with the given function f.

fn main() {
    fart::generate(|cfg| {
        unimplemented!("Your code here...")
    });
}