zshot/cliDownload

--pdf-generate-document-outline

PDF will have a table of contents.

Example

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