extern crate ytml; use std::collections::HashMap; use ytml::{fs::file_output::write_html_to_file, Tag}; fn main() { let document = vec![Tag { attributes: HashMap::new(), inner: Vec::new(), name: String::from("html"), }]; let file_path = "./out.html"; write_html_to_file(file_path, document, 2); }