hummusRecipe icon indicating copy to clipboard operation
hummusRecipe copied to clipboard

[QUESTION] Modify existing internal links

Open nigellima opened this issue 4 years ago • 3 comments

Hello,

I came across this by looking for a way to modify an existing PDF file. Does hummusRecipe provide the feature of modifying an internal link of an existing PDF file?

Thanks in advance

nigellima avatar Sep 27 '19 10:09 nigellima

It seems to me that link is not supported yet. (Need to check if it's supported in HummusJS)

chunyenHuang avatar Sep 27 '19 16:09 chunyenHuang

Thanks @chunyenHuang Have you had the chance to check if it's possible?

nigellima avatar Sep 28 '19 16:09 nigellima

@chunyenHuang I've found this issue that is about creating a table of content in the PDF. The generated PDF has a table of contents that redirects to the specific page. However, I could not figure out how I would apply the same logic for existing links in the PDF (to replace them). What I would like to do is to get an existing PDF that has external links and replace this links with internal ones (like <a href="#page=5/> or <a href="#section1/>. Would you give me a hint?

nigellima avatar Sep 29 '19 03:09 nigellima