adrienbrignon / mkdocs-exporter

⚡ The fastest and most configurable plugin for MkDocs, allowing seamless export of individual pages or entire documentation as PDF documents.
https://adrienbrignon.github.io/mkdocs-exporter/
MIT License
71 stars 2 forks source link

Automatically create a table of contents from headers in generated PDF #24

Open SteveBehm opened 2 months ago

SteveBehm commented 2 months ago

Hello

I am wondering if it is possible to automatically generate a table of contents (TOC) when a PDF is created based off of the headers in the markdown file that is being converted to PDF?

If not, would this be something considered as an enhancement to the plugin?

Thank you!

adrienbrignon commented 2 months ago

Hello @SteveBehm,

Currently, this feature is not implemented but could definitely be an enhancement to the plugin.

AloysA commented 2 weeks ago

We'd very much appreciate a table of contents as well, especially for PDF's containing many (hundreds of) pages.

As a side note: This implementation of a PDF expert is creative and significantly better than all previously implementations I've seen, great work!