Hi! Does anyone know if there’s a way to exclude part of a heading from the generated outline? (I know that to exclude the whole thing, you can just use heading(outlined: false)).
Something like this:
The following is a way to do it by creating a “ghost” heading but it’s obviously not very nice nor reproducible:
You could work around this by using a lower level heading (like 5th level or however deep your document goes and doing something like this
#outline(depth: 4)
Obviously, you need to create a new header with a level below 4 for this to work, but then you’d have a header that would be bookmarked in the PDF but not visible in the outline