pub fn generate( content: &[u8], function_name: Option<String>, curly: bool, tikz: bool) -> Result<String>