Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It can make bookMarks? #821

Closed
405go opened this issue May 24, 2018 · 10 comments
Closed

It can make bookMarks? #821

405go opened this issue May 24, 2018 · 10 comments

Comments

@405go
Copy link

405go commented May 24, 2018

It can make bookMarks?

@theBenForce
Copy link
Contributor

@405go, I added support for bookmarks in PR #831. Unfortunately, it doesn't look like the maintainer is still creating releases, so you'll have to install with npm install https://github.com/devongovett/pdfkit/tarball/master.

@405go
Copy link
Author

405go commented Jul 19, 2018

@theBenForce good job, But can you show a example for how to make bookMarks?

@theBenForce
Copy link
Contributor

I updated the documentation in the repo. Look at the section titled Outlines in PDFKit. There's a bookmark for it in the pdf too 😉

@xiaofengwk
Copy link

@theBenForce hi, I'd like to know when will we enjoy this features, and when the doc.table ? tks

@theBenForce
Copy link
Contributor

@xiaofengwk I'm not a maintainer of the project, so I couldn't say when the next release will be. You can install the package through npm with my changes like this: npm i github:foliojs/pdfkit.

In the npm docs, there are instructions to locking to a specific commit.

@405go
Copy link
Author

405go commented Aug 30, 2018

@theBenForce It is just support page outline?

@blikblum
Copy link
Member

Hi, you can help by testing the new ES build. More info at #859 (comment)

An example using outline api would be helpful for the tests

@theBenForce
Copy link
Contributor

@405go Yes, just page level links.

@blikblum I added examples to the documentation in my PR, let me know if you need more info.

@405go 405go closed this as completed Sep 18, 2018
@soubhikchatterjee
Copy link

Hi @theBenForce

is there anyway to edit existing pdf file and add/edit/delete bookmarks in it and then save the pdf to disk?

@theBenForce
Copy link
Contributor

@soubhikchatterjee I had to create a custom branch of pdfkit to allow editing existing documents. I haven't used it much in the past 3 years though, so maybe it supports it now. 🤷🏼‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants