MaxMelcher / AzureDevOps.WikiPDFExport

Export Azure DevOps Wiki to PDF
MIT License
187 stars 62 forks source link

Generate a global table of content #71

Closed AltarBeastiful closed 2 years ago

AltarBeastiful commented 2 years ago

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 commented 2 years ago

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... 😀

chrPetry commented 2 years ago

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 commented 2 years ago

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