Add option to export PDF bookmarks expanded instead of collapsed
Description
When you generate a PDF from a Typst document with level-2 headings, all second-level entries in the PDF are collapsed. I'd like an option to export the bookmarks open, either at all levels or up to a given depth.
Note: it seems to me that this is already supported by the PDF backend, but not exposed (see: LaurenzV/krilla#343)
Use Case
I'm creating a PDF songbook with Typst. Each song is a level-2 heading, grouped under level-1 sections named after the artists. When I open the PDF, the bookmarks panel shows only the artist names (i.e. level-1 sections), collapsed, and readers have to expand each one by hand to see the song titles. I'd like the menu entries expanded, so that all song titles are visible instead of collapsed at level 2.
Source: typst/typst