3 ms·
The bookmarks feature of pdfs doesn't exist in chrome's pdf engine which means paged.js don't support it either last I checked. We solved this by post processi
by makkesk8 6y ago
The bookmarks feature of pdfs doesn't exist in chrome's pdf engine which means paged.js don't support it either last I checked.
We solved this by post processing the pdf generated with paged.js + puppeteer with itextsharp (LGPL) to add the bookmarks.
We captured the toc using the paged.js "after" hook and put that into a variable which our backend could then grab from puppeteer.