[TASK] apply sticky to first two summary headlines
All checks were successful
CI/CD Pipeline / deploy-main (push) Successful in 1m2s

This commit is contained in:
Marie Birner
2024-02-19 21:33:45 +01:00
parent 5cdf0927d5
commit 133b83d7da
3 changed files with 66 additions and 24 deletions

View File

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