So i'm trying to get a numbering and underline of headings.
show heading: it => {
[
#underline(
offset: 0.2em,
)[#h(1em * (it.level - 1)) #locate(loc => { counter(heading).at(loc).map(str).join(".") }).
#it.body]
#v(1em)
]
}
i wrote that show rule, but it also numbers my outline
How can i do both?