Skip to content

Mall0c/pdf-merger-js-href-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example to show that hrefs to an id within a document don't work after passing pdfs through pdf-merger-js.

test.html contains the code to be put into an pdf. To generate that pdf, I use puppeteer.

If you dont want to install puppeteer, remove the code in index.js that is above the comment " // Now let's create the same PDF, but proxy it through the PDFMerger.". Since test.pdf is already in this repo, this should work, too.

As you can see, clicking the links in test.pdf works, but in test-merged.pdf does not.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published