MaxMelcher / AzureDevOps.WikiPDFExport

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

#71 - TOC feature from MarkdigToc #87

Closed chrPetry closed 2 years ago

chrPetry commented 2 years ago

Added basic toc feature and enhanced the idea by merging md files into a single one for a single TOC. Perhaps you have a better idea for this use case.

chrPetry commented 2 years ago

Better would be to fetch all the headers (h1, h2..) at the beginning. But I think then the linking would break, am I right?

chrPetry commented 2 years ago

Ok I just switched to fetching first all headers. Added also some unit tests

Works very well for me!

MaxMelcher commented 2 years ago

Cool stuff, thanks a lot! I need a weekend or two to do some testing and then we can ship it!

chrPetry commented 2 years ago

Thank you for this nice work and nice coding style 👍

MaxMelcher commented 2 years ago

just released - thank you so much @chrPetry!

chrPetry commented 2 years ago

:) happy to contribute.