zshot/cliDownload

--pdf-generate-document-outline

PDF will have a table of contents. The default omits it; this flag adds an /Outlines tree, the PDF bookmarks a reader navigates as a table of contents.

Example

zshot -f page.pdf --pdf-generate-document-outline https://example.com