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

How to Create an Index Page with Links to Chapters and Page Numbers? #3045

Open
buzzo123 opened this issue Jan 21, 2025 · 0 comments
Open

How to Create an Index Page with Links to Chapters and Page Numbers? #3045

buzzo123 opened this issue Jan 21, 2025 · 0 comments

Comments

@buzzo123
Copy link

Hello,

I am using React-PDF and would like to know if it is possible to generate an index page for a document. Specifically, I want the index to include:

  1. Links to chapters in the document.
  2. The corresponding page numbers for each chapter.

something like this for my first page:

Image

Is there a built-in feature or recommended approach for implementing this functionality? Alternatively, are there any external libraries or custom solutions you'd suggest to achieve this?

Thank you for your help!

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

No branches or pull requests

1 participant