open all details by default

This commit is contained in:
philipp 2024-02-19 22:24:09 +01:00
parent 5736a79fd7
commit 170befc595

View File

@ -56,7 +56,7 @@ fn print_header(header: Heading, level: usize) -> String {
} }
ret.push_str(&format!( ret.push_str(&format!(
"<details>\ "<details open='open'>\
<summary class='sticky'><h{0}>{1}</h{0}></summary>\n\ <summary class='sticky'><h{0}>{1}</h{0}></summary>\n\
<div>", <div>",
level + 2, level + 2,