sillsdev / docu-pdf

Fork of mr-pdf
MIT License
5 stars 3 forks source link

Enhancement request - page numbers #1

Open JenniBeadle opened 2 years ago

JenniBeadle commented 2 years ago

Is there a way to get page numbers on the PDF? One of my sites has 309 pages.

JenniBeadle commented 2 years ago

I have tried the new footerTemplate but it gave me a header with date/time/title (no pagenumbers) So I tried the headerTemplate and got a footer with URL and pagenumber and URL. Not quite what I wanted but better than nothing..

npx docu-pdf https://jennibeadle.github.io/flexdoc/docs/Video-summaries/Index-of-Demo-Movies --excludeURLs="https://jennibeadle.github.io/flexdoc/docs/Video-summaries/FLEx-vidsum-audio"--contentSelector="article" --pdfMargin="48,48,48,48" --outputPath="Ptx-man-en.pdf" --headerTemplate="

/
"