mkdocs-print-site-plugin icon indicating copy to clipboard operation
mkdocs-print-site-plugin copied to clipboard

Option to add page numbers to footer and TOC

Open hzappen opened this issue 1 year ago • 2 comments

Adding page numbers to the bottom of each page, and also referencing the page number within the table of contents would surely be a nice addition for people who really want to print hardcopies of the documentation. But even if viewing the PDF, this would make it feel even more like a genuine document.

Any thoughts or plans on this?

I might be willing to contribute this feature also.

hzappen avatar Feb 13 '24 10:02 hzappen

Cool! I'd be open to a PR for this.

I did add this caveat in the docs:

https://github.com/timvink/mkdocs-print-site-plugin/blob/a648cff725d39aea6732164470656fef0571f159/docs/how-to/export-PDF.md?plain=1#L7

If you want to print pretty hardcopies, I think that plugin is a better fit.

I vaguely remember trying to add page numbers to the PDF using CSS/js and failing. Would be very cool if you manage to get it to work (without adding very heavy dependencies like pandoc of course)

timvink avatar Mar 12 '24 23:03 timvink

mkdocs-with-pdf is quite dead, no activity in sight

tibitoth avatar Mar 13 '24 10:03 tibitoth