Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate a global table of content #71

Closed
AltarBeastiful opened this issue Jul 15, 2021 · 3 comments
Closed

Generate a global table of content #71

AltarBeastiful opened this issue Jul 15, 2021 · 3 comments
Labels
Milestone

Comments

@AltarBeastiful
Copy link
Contributor

It would be pretty useful to generate a global table of contents using all pages titles, like it's already done using bookmarks.
It would allow to add a page at the beginning of the document with all titles, page number and links.
Kinda like what pandoc is doing with --toc

@MaxMelcher
Copy link
Owner

It's also on my wishlist, but lacking time, need to prio other things.

Would happily merge pull request - most of the functions is already in there... 😀

@MaxMelcher MaxMelcher added this to the Version 4.1 milestone Nov 14, 2021
chrPetry added a commit to cpetry/AzureDevOps.WikiPDFExport that referenced this issue Jan 18, 2022
@chrPetry
Copy link
Contributor

Would also like to see "outlines" in PDF.
Seems there are solutions:
https://gitlab.pagedmedia.org/ablu/pagedjs-cli/tree/pdf-outline

No idea how to implement this.

@MaxMelcher
Copy link
Owner

TOC is now available - thanks to @chrPetry
Outlines are not exported by pupeteer - once they support it, we will support it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants