FIX: Properly format title in function list

This commit is contained in:
Nicolás Hatcher
2024-03-16 17:38:57 +01:00
parent a38ba93724
commit 493dc56892
2 changed files with 4 additions and 2 deletions

View File

@@ -1,4 +1,6 @@
# List of Functions implemented in IronCalc\n* AND # List of Functions implemented in IronCalc
* AND
* FALSE * FALSE
* IF * IF
* IFERROR * IFERROR

View File

@@ -17,7 +17,7 @@ fn main() {
panic!("Usage: {} -o <file.md>", args[0]); panic!("Usage: {} -o <file.md>", args[0]);
}; };
let mut doc = Vec::new(); let mut doc = Vec::new();
doc.push(r#"# List of Functions implemented in IronCalc\n"#.to_owned()); doc.push("# List of Functions implemented in IronCalc\n\n".to_owned());
for function in Model::documentation() { for function in Model::documentation() {
doc.push(format!("* {}\n", &function.name)); doc.push(format!("* {}\n", &function.name));
} }