pub fn generate<F>( content: &str, separator: &str, variables: HashMap<String, String>, on_import: F, ) -> Result<String, String>where F: FnMut(&str) -> Result<String, String>,