As is, #note-outline creates a #heading(numbering: true) for its heading, giving it a section number and incrementing the counter for the section number. Because in general the section that it's producing isn't part of the document that's meant to be published, it should probably not do this by default. I would propose that a value numbering: false be added to its function signature, which is then passed on to heading so that readers get a more accurate assessment of how many sections there are.
As is,
#note-outlinecreates a#heading(numbering: true)for its heading, giving it a section number and incrementing the counter for the section number. Because in general the section that it's producing isn't part of the document that's meant to be published, it should probably not do this by default. I would propose that a valuenumbering: falsebe added to its function signature, which is then passed on toheadingso that readers get a more accurate assessment of how many sections there are.