Ramkumar KB
Ramkumar KB
@laurmaedje - I have a related question to this issue - will I be able to `query` all the `heading` in a page. The current function allows me to query...
@Beiri22 - Yes, I did but it just returned all the headings in the document. How do I query the Headings in the `current page`?
@ntjess - Thank you, this works. ``` #set heading(numbering: "1.") #set page(header: locate(loc => { let elems = query( selector(heading).before(loc), loc, ) let academy = smallcaps[ Typst Academy ] if...