Reputation: 11
I am just printing the HTML page, I need to show the page numbers opposite to the titles in Table of contents. I investigated a lot, but couldn't find a proper solution. While investigating I found target-counter but it is not working for me. Seems it is explicitly providing support for PrinceXML, but I am using puppeteer to convert HTML content to PDF, since PrinceXML doesn't support .Net Core, I have opted Puppeteer Sharp. So is there any way I could get page numbers in the table of contents.
Upvotes: 1
Views: 903